Link to popstate doc on MDN (#4150)

This commit is contained in:
Tim Phillips 2018-04-13 03:29:35 -07:00 committed by Tim Neutkens
parent fbd023c032
commit f6949349c1

View file

@ -488,7 +488,7 @@ export default () =>
#### Intercepting `popstate`
In some cases (for example, if using a [custom router](#custom-server-and-routing)), you may wish
to listen to `popstate` and react before the router acts on it.
to listen to [`popstate`](https://developer.mozilla.org/en-US/docs/Web/Events/popstate) and react before the router acts on it.
For example, you could use this to manipulate the request, or force an SSR refresh.
```jsx