Closed naartjie closed 3 years ago
Hi @naartjie , thanks for the kind words :)
history
functions don't work when opening an html local file with file://
, and because reason-react
and thus jsoo-react
rely on history.pushState
, the examples can't work without a local server.
I will keep this issue open as a reminder to update the readme. :)
The readme now mentions that it's required to start a server to run the example:
Hi @jchavarri, thanks for starting this great project. Exciting stuff!!
Running the example without the server (using Chrome), something is failing with the router / pushState:
Running the server works fine.