Until the release of TurboPack, using NextJS in this project can be tricky as webpack slows down with scalability.
The issue is that my project contains several components that are imported into the whole system, the system divided into pages (modules).
What strategies could I apply to have the least impact on:
- Construction process, as atoms are less likely to change
- Importation of these components by the client, because depending on how it is, the client will download all the atoms even the unused ones
- And of course, the development process cannot be arduous, it must be simple to keep those atoms.
I'm using NextJS 13