Migrating Angular JS app to React

We often have to deal with legacy code at some point. In my organization, we have an app that uses the AngularJS framework and is not touched for quite some years. Recently, we were tasked to add a new feature to that app.

The app had quite a lot of outdated dependencies with dependencies coming from both bower.json andpackage.json. The build tool used older versions of Gulp andWebpack.

We tried to add the new feature without upgrading any of the packages, but it resulted in a lot of pain. Even a tiny change to the old AngularJS framework was…