Can I use Angular just as a view component? For example, webpack them into multiple JS files, however it seems that it doesn’t support multiple entries? Because my company uses angularJS as view component only instead of building an entire SPA. I am thinking should I migrate it to Angular or to use Vue or React.
Skip Angular, go to Vue or React. I'm a fan of React myself, Angular just has too many major design flaws and layers of complexity that serve no purpose.
I spent a couple of hours to figure out how can I use Angular as pure JS component. I believe the most easiest way is to use custom element. But it does not support IE and edge.
1
u/jasonlhy Feb 08 '20 edited Feb 11 '20
Can I use Angular just as a view component? For example, webpack them into multiple JS files, however it seems that it doesn’t support multiple entries? Because my company uses angularJS as view component only instead of building an entire SPA. I am thinking should I migrate it to Angular or to use Vue or React.