Stack is relevant though. If you need a front-end architect, and you hire someone with 10+ years Java experience, they aren't going to know the first thing about web accessibility, polyfills, bundlers, cross-browser support, etc. The domains of implementing microservices vs. writing front end code are fundamentally driven by very different problems.
The stack an engineer has experience with can be one indicator of the areas they excel in.
The stack an engineer has experience with can be one indicator of the areas they excel in.