rsnext/errors/popstate-state-empty.md
k-kawakami d9060f5abd Remove trailing spaces (#6547)
### changes
#### remove trailing spaces

When I was using example I noticed trailing spaces.
So, this PR removes the trailing spaces of json file, README, and others.

`examples/with-jest-typescript/src/modules/cars/Overview.tsx` also has it, but this time it did not change as tslint error occurs at commit.
2019-03-07 17:40:08 +01:00

498 B

popstate called with empty state

Why This Error Occurred

When using the browser back button the popstate event is triggered. Next.js sets popstate event triggered but event.state did not have url or as, causing a route change failure

Possible Ways to Fix It

The only known cause of this issue is manually manipulating window.history instead of using next/router