1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples
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
..
basic-css Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
custom-server set build and start npm scripts on all examples (#549) 2016-12-28 10:12:24 -08:00
custom-server-express set build and start npm scripts on all examples (#549) 2016-12-28 10:12:24 -08:00
data-fetch Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
head-elements Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
hello-world Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
nested-components examples/nested-components: use an apostrophe rather than a prime (#566) 2016-12-29 10:50:36 -08:00
parameterized-routing set build and start npm scripts on all examples (#549) 2016-12-28 10:12:24 -08:00
shared-modules Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
ssr-caching set build and start npm scripts on all examples (#549) 2016-12-28 10:12:24 -08:00
using-preact Add a preact example. (#543) 2016-12-27 10:58:10 -08:00
using-router Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
with-custom-babel-config Add support for using .babelrc in the app root. (#493) 2016-12-26 10:13:45 -08:00
with-glamor Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -08:00
with-jest Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
with-loading Implement Router Events (#511) 2016-12-30 17:15:22 -08:00
with-prefetching Fixed log on component prefetch (#563) 2016-12-29 22:56:22 +09:00
with-redux Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
with-styled-components Add/data fetch example (#485) 2016-12-23 08:05:49 +09:00
with-styletron Add styletron example (#486) 2016-12-23 08:01:24 -05:00