React, Redux, Express, Styled Components, they're all still there and thriving. There's emerging technologies such as the brilliant XState, Tailwind and Svelte, but these have either not matured enough yet or the community is still figuring them out, because I have yet to find any of them in a job spec. It is still React, Angular, and Vue that remain dominant in that area. I'm grateful for that, because if the paradigm had shifted I would have a lot of catching up to do. This calmed me massively and really secured me mentally for any other surprise changes as these were the core technology choices and what my previous experience was built around.
Still, I had work to do. And I didn't know where to start.
Every programmer in their career will have that moment when suddenly everything just 'clicks' and you understand things you never thought you would. You look at code and you can skim read it better and quicker than a book. Once you progress and move towards senior roles this becomes a natural ability, because you don't have time to sit through 12 PRs a day you develop this ability to notice critical or moving parts that could potentially be a problem. You learn. You develop. But it's something we take for granted. You never think you could then lose that ability, much like you wouldn't lose the ability to read a book. It seems absurd. But we learn to read from a very early age. Coding is something we pick up most of the time in our late teens. Coming back from a complete blackout of any sort of code, I simply had lost the ability to do simple things.
Going through the MDN docs and playing around with some React and XState earlier this week made me realise just how much I had forgotten. To give a bit of perspective and clarity, I couldn't write an arrow function - that piece of muscle memory for those key combinations just wasn't there any more. More nuanced syntax, such as rest parameters, were even harder because I'd actually forgotten what they did and their use cases. It all came back, but it goes to show how much we take for granted when we are exposed to these things day in day out. We subconsciously log them. Our mind reaches out and connects to those things we find interesting. Lose that stimuli though, and the connection fades.
Five years ago this would have been a different story. I remember when I worked at Sky and there were new libraries coming out every other week. New testing frameworks, state management libraries, new patterns for people to try, it was chaos but it was also a load of fun. If that happened now though it would make that transition back into the web world a lot more difficult. As of yet, it's been anything but. It's reminded me to keep up with things though. Read those Medium blogs. Check Twitter for major library updates (core devs usually post them there). Check the job market and track trends. Watch a recent YouTube talk that expands your horizons.
So what have I used to get myself back to where I was previously? I've mentioned a few of them already, but I'll add them here for clarity:
- Package docs
- And finally... a crap ton of coding, including this blog.
That last one is obviously the most important, but supplement it with the others to make sure you're doing the correct thing.
A spare few minutes a day is all you need. But it keeps you in that loop. And staying in that loop is crucial.