What is your stack? There are areas with more opportunities than others that may be worth considering a stack shift. I have been in the market since 2006, and I have seen it go up and down; I've never been unemployed since, but I have close friends who run over one year without a job (In Brazil, we usually have financial crises here more often), at that time their option was to do freelancing for a while until they f…
The problem is you can't "stack shift". I mean, of course you can, we know that if you know some programming languages you can pick up another language, if you know an HTTP router you can learn another, a MySQL expert can learn PostgreSQL, if you know React you can learn Vue and so on. But you won't get through the HR filters unless you have the magic n years' experience. Once you learn that stack in your junior year…
HR people do apply such filters, but you can usually work around it, if you're a capable individual that can actually "stack shift".
I "stack shifted" multiple times in my career, without lying about my experience. Companies look for talented software developers. Going from backend to frontend or vice versa might be harder, but otherwise the required skills pretty much universal. Having contributions on Github helps.
Of course, this is the part where I'm going to say that having a computer science and math/engineering oriented education, even if self-learned, can be valuable. People that go through their profession by just integrating off the shelf stuff will have their jobs automated.