react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Suggestion]: The official way to build a simple static generated website (SSG) without Next.js

Open stouch opened this issue 1 year ago • 1 comments
trafficstars

Summary

Improve docs about Static Site Generation (SSG)

Page

No response

Details

What is the official and easiest way to build a static-files generated website (with separate .html files) with React ?

I finally used https://github.com/Daydreamer-riri/vite-react-ssg which is very good, but I was quite surprised to not find anything clear way to do so in the docs.

(This part is not clear at all : https://react.dev/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022#static-server-rendering-optimizations) Capture d’écran 2024-09-10 à 17 36 16

stouch avatar Sep 10 '24 15:09 stouch