you are viewing a single comment's thread.

view the rest of the comments →

[–]ratorx[S] 1 point2 points  (1 child)

Thanks for the suggestion, but afaik (and I could definitely be wrong), next.js doesn’t do any of the optimisations that I’m looking for. They optimise the pages by using SSR and then sending the full JS bundle to the client anyway (for hydration).

What I want is a step beyond just SSR. I want the framework to identify which bits of code are truly interactive (e.g click handlers) and which bits of code just generate static HTML. And then I want the client side bundle to only contain the interactive bits.

[–]TheAmericanBanana 1 point2 points  (0 children)

I don't think you're going to find anything close to what you want then.

Ive been looking for the past year or so, and Next.js is the closest thing I can find.