Open RoYaLBG opened 7 years ago
Build react app can be started upon click on a single HTML file but first all the routing needs to be changed to relative paths. There are two apps in that branch that proofs of running build react apps without server.
The Todo list works, the the other app only shows Page not found
. Is that intentional, since I can see there are several components within the src
directory. I guess we could create single-single page app without router at all. However there's always that argument - bootstrapping React for a single static page seems needless. But as far as PoC goes - it works ;)
We need PoC for a sample "Hello World" app with ReactJS. It might start upon click on a single HTML file.
Constraints