Re:Vercel raise $40M Series B
by chrisweekly on Wednesday December 16, 2020 @09:58AM
(#25443259)
One of the major selling points of NextJS is precisely to address the issues with CSR (client-side rendering). It offers SSG (static site generation) for build-time rendering -- no client JS required. But also SSR (server-side rendering, ie at runtime), and automatic hydration for CSR too.
I just wished it wouldn't need all this __NEXT stuff which appears to lists all the possible routes/files.
React is just one lib used by Vercel
Re:Vercel raise $40M Series B
by eyelidlessness on Wednesday December 16, 2020 @04:58PM
(#25449348)
I’m using Preact X on a Next project and honestly it was more pain than I expected. Their Preact support is pinned to older versions with a different module structure.
I’ll be releasing my solution as a config wrapper (or offer as a PR for their Preact example) before I launch my site so other folks don’t need to go through the same process.
It vaguely seemed like a replacement for react but it’s hard to believe you could raise $40M for that so something else must be going on. I generally was under the impression that the industry was moving away from client side rendering since it’s so slow. At least I browse the web with JavaScript off by default.