How to handle browser refresh of a React Route
walshe opened this issue · 1 comments
walshe commented
So I have greatly simplified the app which just has one app at / , and in here there is one react route called /vehicles (which becomes enabled in the menu after auithentication)
Now I have a question... I realize this is not an isomorphic application, but what is the best way to handle a browser refresh or browser url that is ../vehicles?
Obviously there is no server route at this url so I get a '{"statusCode":404,"error":"Not Found","message":"Not Found"}' . .. and all state is lost even if there was a route there
jedireza commented
This sounds outside the scope of Aqua.
https://www.google.com/search?q=handle+browser+refresh+of+a+React+Router