1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib
Arunoda Susiripala c890dc3573 Implement Router Events (#511)
* Move route loading logic to a common place.

* Add router events.

* Add EventEmitter's core API methods.

* Add example app for loading events and docs.

* Fix some typos.

* Get rid of Router.ready()

* Remove events package.
It's already shipping with webpack.

* Handling aborting properly.

* Expose simple attribute based events listener API.
Removed the proposed event listener API from the public API.

* Remove error logged when there's an abort error.
There are many other ways to capture this error.
So, it doesn't look nice to print this always.

* Change router events to pass only the current URL as arguments.

* Add a section about Cancelled Routes to README.
2016-12-30 17:15:22 -08:00
..
router Implement Router Events (#511) 2016-12-30 17:15:22 -08:00
app.js Update url.pushTo and url.replaceTo update only on dev. (#434) 2016-12-19 13:04:38 -08:00
css.js Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -08:00
eval-script.js Bundle all the modules inside the app (#414) 2016-12-17 17:49:10 +09:00
head.js Add default utf-8 charset. (#270) 2016-11-17 15:06:54 -08:00
link.js Add warning for multiple children in Link (#558) 2016-12-29 21:53:20 +09:00
prefetch.js Make prefetching works again. (#422) 2016-12-17 13:59:03 -08:00
shallow-equals.js Added linting using standard (#27) 2016-10-16 17:00:17 -07:00
side-effect.js batch update head contents (#129) 2016-10-28 23:39:20 +09:00
utils.js display deprecation warning only when method was called (#462) 2016-12-21 10:43:31 -08:00