Bernardo-MG / dnd5-api-react-client

Example REST client made with React and Redux.
https://docs.bernardomg.com/react-rest-client-example
MIT License
1 stars 0 forks source link

The app doesn't open when deployed #10

Closed Bernardo-MG closed 5 years ago

Bernardo-MG commented 5 years ago

Opening the index.html renders a white page locally and in the static content server.

Seems related to react-router. Changing to use hashrouter fixes it, but this is not the router to use.

Bernardo-MG commented 5 years ago

BrowserRouter seems to work partially

Bernardo-MG commented 5 years ago

The list of routers: https://reacttraining.com/react-router/web/api/Router

Bernardo-MG commented 5 years ago

Fixed by using hash router. The browser router doesn't seem to work well on static content servers.