I created a React component library with buttons, form elements, ...
I have already a website with multiple existing HTML files. Now I want to add these react components to these existing html files. And I want to render them on build time. So they are prerendered. As they are not dynamicly I do not need hydration. I just need to prerender them in those existing html files.
Does someone now how to do this?
1 Replies
What i have understood about pre-rendering is when we are hosting with a static hosting provider we use react-snapshot to generate html pages for each route or relative link, in your application.
The primary benefit of pre-rendering is that you get the core content of each page with the HTML payload, It also increases the likelihood that each route of your application will be picked up by search engines.