React SSR+SPA 's plan?

now both spa and ssr (next.js) in the community have good solutions?
has a hero ever done a combination of the two? That is, the scheme of using spa after the first screen is loaded with ssr,

Mar.28,2021

you can use prerender-spa-plugin

if you investigate that server-side rendering (SSR) is only used to improve the SEO, of a few marketing pages (such as /, / about, / contact, etc.), then you may need pre-rendering. Instead of using the web server to dynamically compile HTML, in real time, instead of using pre-rendering, (build time) simply generates static HTML files for specific routes at build time. The advantage is that it is easier to set up pre-rendering, and you can use your front end as a completely static site.

if you use webpack, you can easily add pre-rendering using prerender-spa-plugin. It has been widely tested by Vue applications.
from vue ssr document

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36452-2bff3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36452-2bff3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?