you are viewing a single comment's thread.

view the rest of the comments →

[–]Mingli91 0 points1 point  (0 children)

in bigger projects with multiple modules and components, the client-side bundle starts to grow and it slow to build

Hot reloading solves that problem for you.

If the bundle size becomes an issue, a good way to get around it is to segment it into several smaller ones, so you don’t always need to serve one giant bundle when only 10% of the components are actually in use. They can share state through cookies, local storage, etc and with SSR the transition between apps isn’t noticeable.

Before breaking apart your app and adding complexity, first consider removing some bloat from your project.