5 ms·
SSR is definitely the best bet, but because you say that's not an option, I'm assuming you're just hosting static files without a proper server. In that case, a
by baddox 7y ago
SSR is definitely the best bet, but because you say that's not an option, I'm assuming you're just hosting static files without a proper server. In that case, a static site generator might be an option.
For React it seems that Gatsby is very popular: https://www.gatsbyjs.org/ https://www.gatsbyjs.org/
Depending on the complexity of your hobby project it might even be feasible to write a simple script that runs node, outputs HTML files for each of your pages, and uploads them to online storage.
You might look into GitHub Pages too, although I'm not familiar with its capabilities: https://pages.github.com/ https://pages.github.com/