|
|
|
|
|
by erlich
1258 days ago
|
|
> I recently adopted a codebase (and a team) Are you in charge? How big is the team? Is it a startup? Is the software making money? How important are new features to make money / gain clients? Usually with a rewrite, you will end up implementing features in both codebases. This can slow you down a lot, kill team morale for those working on the old project, etc. First, move to a monorepo. Put all the old monolithic stuff in one package, and pull out parts of the app into small clean packages going forwards. Then use microfrontend architecture. Implement one page/feature/component cleanly using a new framework with a separate build. If you use Webpack, check out the Federation feature. However, if you want to move to something like Next.js (with the new turboback which is not webpack anymore) then the microfrontend stuff might be more hassle than it's worth, because Next has a more integrated deployment solution too. |
|