|
|
|
|
|
by voidr
484 days ago
|
|
If you want to optimise for SEO you might want your content to be rendered on the server, however: rendered on the server is not the same as being sent down in the initial HTML payload. Server components are not convenient to use, because they cannot be interactive, even code that you would expect to work does not work on the server. There are good parts like server actions, however they are plagued with very strange limitations making them not so useful. If you want to statically generate websites and want to use React, NextJS can be a good choice, however for complex web applications I find that it's not ambitious enough to justify even the extra compile time that I get from its tooling compared to Vite. |
|
Why would you optimise for SEO on a webapp? What's the use-case there?
If you're not writing a webapp, then any server side rendering would do and client side components aren't needed anyway.