2 ms·
> And lazy-loaded routings? Yes please. All the React routers I know of support lazy-loading well. I'd argue far better than Angular handles it. React compone
by WorldMaker 6y ago
> And lazy-loaded routings? Yes please.
All the React routers I know of support lazy-loading well.
I'd argue far better than Angular handles it. React components tree shake extremely well out of the box and I've rarely had to worry about bundle size when lazy-loading in React. Whereas Angular's dependency injection framework and its "modules", in addition to being irritating busy work as soon as you realize you can't trust the CLI's scaffolding, do nothing but get in the way of proper tree-shaking and good webpack chunks/bundles.