1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

66 commits

Author SHA1 Message Date
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
Stephen Mathieson 369bc873f8 examples/nested-components: use an apostrophe rather than a prime (#566)
This is just my OCD, but this file is much easier on the eyes when apostrophes are used rather than primes. It's also proper, as the [prime](https://en.wikipedia.org/wiki/Prime_(symbol)) is used in mathematics, not written English.
2016-12-29 10:50:36 -08:00
Dan Zajdband 31703d4c78 Fixed log on component prefetch (#563) 2016-12-29 22:56:22 +09:00
Naoyuki Kanezawa 917a96a1cd set build and start npm scripts on all examples (#549) 2016-12-28 10:12:24 -08:00
Arunoda Susiripala 1ba315fcc1 Add a preact example. (#543)
* Add preact example.

* Update .babelrc
2016-12-27 10:58:10 -08:00
nkzawa de7801df2d example: fix npm script (fix #526) 2016-12-27 23:39:00 +09:00
Arunoda Susiripala d580b8f0c9 Use ^2.0.0-beta as the version for with-prefetching example. (#530) 2016-12-26 12:37:03 -08:00
Arunoda Susiripala ac2a71876d Add support for using .babelrc in the app root. (#493)
* Add support for using .babelrc in the app root.

* Update the README about the .babelrc usage.

* Fix a typo.

* Remove additional example usage.
2016-12-26 10:13:45 -08:00
nkzawa 1888a251a8 fix npm script on examples 2016-12-26 12:59:09 +09:00
Ian Mitchell 355dbf8fdd Fix SSR Cache Example (#510) 2016-12-25 00:38:35 +05:30
Dan Zajdband 01e1883f79 Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -08:00
Arunoda Susiripala b9bee24787 Add an example with SSR caching. (#497)
* Add an example with SSR caching.

* Update server.js

* Update README.md

* Use app.renderError to display errors in SSR example.
2016-12-23 09:13:52 -08:00
Naoyuki Kanezawa 01da6f4761 Add styletron example (#486)
* add styletron example

* example: fix link

* example: improve README

* Added styletron example reference to readme and merge with master
2016-12-23 08:01:24 -05:00
Dan Zajdband f6ece560e4 Add/data fetch example (#485)
* Added data fetch example

* Finished updating examples install instructions and added data-fetch example to main readme
2016-12-23 08:05:49 +09:00
nkzawa 414a22d38e examples: fix README titles 2016-12-23 07:57:57 +09:00
nkzawa cf727eb1e1 typo 2016-12-23 06:43:18 +09:00
Dan Zajdband 2b791a6653 Added missing readme and references in main readme. (#483)
* Added missing readme and references in main readme.

* Fixed wrong links

* Updated examples format
2016-12-22 13:04:32 -08:00
Arunoda Susiripala 362626d0d4 Update the next to the least supported version. (#478) 2016-12-22 20:41:50 +09:00
nkzawa cae706d7b7 examples: use HTTPS URL 2016-12-22 18:14:12 +09:00
nkzawa aa630279e6 examples: simplify download instruction 2016-12-22 18:07:54 +09:00
nkzawa b8291abeac improve the styled-component example 2016-12-22 17:16:33 +09:00
Dan Zajdband c5d69f0585 Add/move examples (#470)
* Added redux and styled components (wip) examples.

* Updated examples readmes and package.json

* Fixed styled-components example
2016-12-21 21:10:54 -08:00
Arunoda Susiripala 1719738ed1 Allow to customize our babel configuration (#466)
* Add a way to customize babel configurations.

* Add babel configuration docs to README.
2016-12-21 17:36:00 -08:00
Arunoda Susiripala f1c6ea3248 Fix Jest example app (#458)
* Add a working JEST example app.

* Add README.md

* Move react-test-renderer to devDeps.

* Add a newline to the .babelrc
2016-12-21 23:06:24 +09:00
Dan Zajdband bacb42ead4 Updated README with new features and code fixes (#444)
* Updated README with new features and code fixes

* Removed staticMarkup option from docs.

* Fixed quiet parameter info.
2016-12-20 14:57:11 -08:00
Guillermo Rauch b337433d14 Update index.js 2016-12-20 13:03:44 -08:00
Guillermo Rauch 1af5bc98bb Update README.md 2016-12-20 12:45:27 -08:00
Guillermo Rauch 9056116c5b Update Header.js 2016-12-20 12:44:23 -08:00
Guillermo Rauch 376661254d Update index.js 2016-12-20 12:41:40 -08:00
Guillermo Rauch a27f6b0af6 Update features.js 2016-12-20 12:41:26 -08:00
Guillermo Rauch 8129eea237 Update contact.js 2016-12-20 12:41:15 -08:00
Guillermo Rauch 36255e5c5d Update about.js 2016-12-20 12:41:01 -08:00
Guillermo Rauch 2c2d7ad6d5 Update index.js 2016-12-20 12:40:26 -08:00
Guillermo Rauch 100c12b5fe Update about.js 2016-12-20 12:39:34 -08:00
Guillermo Rauch 41c73a3aa7 Update Header.js 2016-12-20 12:39:15 -08:00
Guillermo Rauch cded884581 Update post.js 2016-12-20 12:38:10 -08:00
Guillermo Rauch 587c976ef0 Update paragraph.js 2016-12-20 12:37:58 -08:00
Guillermo Rauch b2c5d40b5f Update about.js 2016-12-20 12:37:38 -08:00
Guillermo Rauch e4d59c087d Update README.md 2016-12-20 12:37:24 -08:00
Guillermo Rauch 35869daee5 Update Header.js 2016-12-20 12:36:30 -08:00
Guillermo Rauch c4c63ab401 Update index.js 2016-12-20 12:36:03 -08:00
Guillermo Rauch 16cab95a57 Update index.js 2016-12-20 12:35:48 -08:00
Guillermo Rauch f51696be08 Update blog.js 2016-12-20 12:35:34 -08:00
Guillermo Rauch ff62d6f631 Update index.js 2016-12-20 12:35:11 -08:00
Guillermo Rauch 0754ac0790 Update about.js 2016-12-20 12:34:56 -08:00
Guillermo Rauch dcf1187f58 Update index.js 2016-12-20 12:34:42 -08:00
Guillermo Rauch 7482ac6398 Update index.js 2016-12-20 12:34:27 -08:00
Guillermo Rauch f4ccfd9e04 Update b.js 2016-12-20 12:34:15 -08:00
Guillermo Rauch 1b694bd8a8 Update a.js 2016-12-20 12:34:04 -08:00
Guillermo Rauch 280655da62 Update index.js 2016-12-20 12:33:47 -08:00