Christian Sánchez Mendoza
|
0e13d8c952
|
Remove route event in componentWillUnmount (#6196)
`Router.events.off` should be called instead of `Router.events.on` in `componentWillInmount`.
|
2019-02-03 14:13:30 +01:00 |
|
Henrik Wenz
|
18488f47b0
|
Fix linter (#5350)
* Fix linter
* Add test env
* Fix lint errors
|
2018-10-20 17:00:01 +02:00 |
|
Tim Neutkens
|
f3f939dde4
|
Run method sorting codemod (#4909)
react-codemod recommended way of having methods defined
|
2018-08-06 20:53:06 -07:00 |
|
Tim Neutkens
|
4c602ff395
|
Run manual-bind-to-arrow codemod (#4906)
https://github.com/reactjs/react-codemod#manual-bind-to-arrow
|
2018-08-06 20:20:01 -07:00 |
|
Tim Neutkens
|
9240cf7855
|
Make .events work even when router is not initialized (#4874)
Followup of https://github.com/zeit/next.js/issues/4863#issuecomment-408920755
|
2018-07-31 21:04:14 +02:00 |
|
Jacob Page
|
498f37e33f
|
Support events emitter for router (#4726)
Fixes #4679
* Document usage of `events` router property
* Expose `events` in the `router` context object
|
2018-07-05 14:41:18 +02:00 |
|