Replies: 1 comment
-
use NextJS or GatsbyJS, I don't think CRA is planning to add anything complex like that in the near future as they want to keep it as simple as they can so beginners can hop on to it with no problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The create-react-app documentation suggests react-snapshot and react-snap for Pre-Rendering into Static HTML Files when we're serving our
build
with a static hosting provider or server, which is a very common use case.However, both these projects have lost activity and are possibly unmaintained as seen in geelen/react-snapshot#116 and stereobooster/react-snap#499
Are there any alternative projects available that work as a replacement for the above packages?
Or does the create-react-app team have any plans to include this feature at some point?
On a more personal note, I'm serving my CRA build with Express. What would be the best approach for Pre-Rendering the CRA build at this point in time, given that I don't want to use
react-snap
?P.s. I've tried Next.js, that didn't go well.
Beta Was this translation helpful? Give feedback.
All reactions