Here is my scenario. I would like advice on which path to follow, along with good reasons as to why. It would even be better if you could give an example based on experience of a similar decision but not absolutely necessary.
I am working at a company wherein we have a backbone.js frontend app which has been around for several years, around 4. The app works well and is bringing in money for the company.
I am not thinking we need to do a fully blown rewrite as it is not a trivial app. On the other hand, I am worried that the app would become less maintainable and hard to work with as time goes on. This is especially true as we bring on new developers.
This decision is not based solely on me but I am torn between using typescript to incrementally change files or functions to, or if possible slowly change small modules or widgets to another framework, angular, vue or any suitable one which looks to have a long stable future.
Any advice or input would be greatly valued.