Commit f6949349 authored by Tim Phillips's avatar Tim Phillips Committed by Tim Neutkens

Link to popstate doc on MDN (#4150)

parent fbd023c0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment