if all my components are "use client" should I even use NextJS?
all my components in my website happen to have use client at the top
Should I even use NextJS at this point , if I fully prefer normal React, is there any benefit i am getting with NextJS if all my components are client?
3 Replies
(btw its just a blog with minimal features like scrollspy)
server components are new, so yes, there are all the reasons that existed before them (link prefetching, image optimization, routing, css modules, etc) - it's been a popular framework far longer than server components have been around
but if you fully prefer normal React then just use normal React
and if you're building a blog then there are options that are more focused on making blogs with React, like nextra (built on nextjs) and docusaurus
"use client" doesn't mean "use CSR", it still renders these components on the server, so Next still gives you benefits like fater load times and better SEO