3 ms·
The only way is rewriting the front-end in a different framework. If you can, you probably should do it all at once. If doing it all at once is too much work,
by Joeri 5y ago
The only way is rewriting the front-end in a different framework. If you can, you probably should do it all at once.
If doing it all at once is too much work, you can look at web components as a technology to have both in the same page. Angular elements allows wrapping angular code and putting it inside another framework. Angular also makes it easy to embed web components into its pages, so you could rewrite piece by piece in a framework that supports creating web components, like vue.
The real challenge with the piece by piece approach is managing data flow and component lifecycle across the frameworks, and doing that requires codebase-specific solutions.
- spankalee 5y agoI've helped teams move from Angular to web components. It's much easier than any other alternative. The data flow just works in Angular 2, though sometimes requires a directive in Angular 1.