HACKER Q&A
📣 Igor_Wiwi

How to deploy a React App to a static blog?


I know that it's possible with babel-standalone, but what else can I use for that ?

Frameworks and programming languages dont matter.


  👤 Something1234 Accepted Answer ✓
I would use vite to build it. Avoid next like the plague.

Vite is great for things like this. I've also stuck them in by themselves using tsc and react-min.js or maybe I ran it through babel by hand. IDK.

https://www.henryschmale.org/2022/03/14/rsa.html


👤 solardev
Just use Astro for this. https://astro.build/

It's one of the lighter React frameworks and perfect for a simple static blog.

You can of course do it with Next too, but it's overkill for a simple blog.


👤 siamese_puff
I think Vite will solve all your problems without coupling yourself to a particular framework too much

👤 pestatije
i use next in export mode