Client-Side rendering
Unanswered
Allen's Hummingbird posted this in #help-forum
Allen's HummingbirdOP
I know someone won't want to do this,
but is it still possible to do Client-Side Rendering like React in NextJs, where everything is Rendered on client only...
but is it still possible to do Client-Side Rendering like React in NextJs, where everything is Rendered on client only...
9 Replies
But why do you use next then? vite+react would be much better suited for it
Brown bear
Actually NextJS client side rendering is much slower then pure React from what I experienced. (I think it still goes through SSR that's why?)
Sometimes like during a purchase form where the SEO portion is no longer needed and pretty dynamic, I might prefer the speed of pure React CSR over NextJS, to prevent cold start issues
Sometimes like during a purchase form where the SEO portion is no longer needed and pretty dynamic, I might prefer the speed of pure React CSR over NextJS, to prevent cold start issues
@Brown bear Actually NextJS client side rendering is much slower then pure React from what I experienced. (I think it still goes through SSR that's why?)
Sometimes like during a purchase form where the SEO portion is no longer needed and pretty dynamic, I might prefer the speed of pure React CSR over NextJS, to prevent cold start issues
you could use static export with next and upload the output to cdn
no cold start issue, all client side
Brown bear
I think is more like the form cannot be predetermined before hand, so nothing to prerender, that's why need full CSR
Especially multi page form that is dependent on the previous pages
or use dynamic import with ssr disable on the form
Brown bear
Ya what I am saying is, pure React is faster than doing all these.