Akutō Ventures
TTCTheo's Typesafe Cult
•Created by Akutō Ventures on 11/25/2023 in #questions
Bundling in app directory
You can see this happen in a brand new app too. I'm surprised there is no more complaints about this as this makes next have both the downsides of an spa ( bundle the same on all pages ) and an ssr ( reaching out to the network when navigating )
So odd.
It's not exaggeration to say this is the worst of both worlds in that respect.
Unless again in missing something but i doubt i am, I'll create a repro project so you can see for yourself.
13 replies
TTCTheo's Typesafe Cult
•Created by Akutō Ventures on 11/25/2023 in #questions
Bundling in app directory
For the specific use case yes, however I'm trying to understand why next is doing this. It shouldn't right?
Are you sure it's not also happening in your apps?
I've got no odd configuration or bad import, this is also happening on a brand new page. It feels like next just bundles everything together regardless
13 replies
TTCTheo's Typesafe Cult
•Created by Akutō Ventures on 11/25/2023 in #questions
Bundling in app directory
They are not unfortunately.
13 replies
TTCTheo's Typesafe Cult
•Created by Akutō Ventures on 11/25/2023 in #questions
Bundling in app directory
There's a very client-side js heavy page in my project that cannot be SSR'd ( livestreaming, chat solution etc ) and then there's a very simple profile page, completely unrelated. They're both equally huge.
A brand new empty single div with no imports page is equally huge.
13 replies
TTCTheo's Typesafe Cult
•Created by Akutō Ventures on 11/25/2023 in #questions
Bundling in app directory
That's.. interesting, this isn't the behavior im facing.
13 replies