When I was refactoring the frontend (Vue.js) I moved a lot of the code into vuex and it definitely helped make the components and views A LOT easier to work with.
But of course deadlines get in the way, I think you're right about about looking for dead code first. Might make it easier to approach the actual refactor.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.