You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we don't pass opts.history to create router, which means that it creates a default BrowserHistory instance. This works in dev because we run the vite dev server, which redirects everything to /index.html, however in production we don't run a server and just read index.html from a file route. This means that reloading the page and loading a persisted route will not work. We should use hash history instead to avoid this problem.
The text was updated successfully, but these errors were encountered:
Currently we don't pass
opts.history
to create router, which means that it creates a default BrowserHistory instance. This works in dev because we run the vite dev server, which redirects everything to/index.html
, however in production we don't run a server and just readindex.html
from a file route. This means that reloading the page and loading a persisted route will not work. We should use hash history instead to avoid this problem.The text was updated successfully, but these errors were encountered: