From an investor POV are layoffs an indicator that companies management feel they dont have growth prospects? Companies, especially tech companies would rarely admit this openly, e.g. how they typically hold ever growing cash rather than pay dividends.
Logically you would think now would be a great time to hire if you genuinely saw significant grow/product rollouts coming. Especially if a company is making profit and not trying to extend runway, reduce debt, in world where money costs more.