I started full-stack at start-ups and then became increasingly front-end as I often found myself on small dev teams that didn't want to worry about FE and I was happy to fill in. I am wondering if it makes most sense to rotate back to be a full-stack role or lean more into management or product?
I haven't met many devs on Front-end who have advanced very far in their career so specializing in Front-end is beginning to look like a dead-end to me.
Yes, there is a "front-end ceiling," meaning it's harder to advance to the senior-most levels in your career if you are very focused on front-end development (web, Android, iOS). A few reasons why:
Take a look at the data:
With that said, I still think you can have a great career as a frontend engineer! After you switch into management for a few years, the actual tech stack you worked with starts to matter less.
tl;dr: if you have the option to build more awareness of the full lifecycle of software, I'd do it. I recommend doing this once you get to the Senior level (a terminal level).
🙋 For what it's worth, I'm a front-end dev who went pretty far in their career 😛
There is a very interesting discussion to be had there though as front-end engineering complexity does indeed tend to go down over time. In particular at Big Tech, there is a problem with front-end engineers capping out at senior and struggling to find the technical scope to reach staff. I talk about this in-depth here: https://www.jointaro.com/course/nail-your-promotion-as-a-software-engineer/technical-complexity/
For front-end engineers who want to stay close to product, they often times pick up more scope on the product direction side. At Meta, this is taken to an extreme with a Staff Engineer product hybrid archetype: https://www.jointaro.com/course/grow-from-senior-to-staff-engineer-l5-to-l6/product-hybrid/
Given that you're mid-level, you can definitely go much further staying in front-end though. Front-end has way more complexity than most people think, especially when you truly strive for quality (Airbnb is an excellent example company here).
You'll find a longer career path for frontend engineers at companies where the frontend product contributes significantly to the overall company revenue. You'll have more scope because there will be more teams working on the frontend product, which means the depth chart will be deeper.