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

78 commits

Author SHA1 Message Date
Guillermo Rauch 4fcc551fb4 adding @timneutkens 2017-01-10 12:55:48 -08:00
Alex Moldovan 07f717061f Added layout component example (#560)
* added layout component example

* coding style fixes

* trailing spaces removed

* updated README file

* added layout example in docs

* moved .babelrc so that it handles all projects from the examples folder
2017-01-05 13:03:36 -08:00
Ovidiu Cherecheș 741500c603 Warn about webpack loaders (#638) 2017-01-03 10:06:55 -08:00
Arana Jhonny 1d700d0240 Aphrodite example. (#634)
* add aphrodite example

* fix props

* Update README.md
2017-01-03 10:06:04 -08:00
Arana Jhonny 856978918e Add cxs example. (#613)
* add cxs example

* fix example location
2017-01-01 22:35:14 -08:00
Guillermo Rauch 5ab71d16b1 Update README.md 2016-12-30 17:37:06 -08:00
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
Tim Neutkens 030a1ed6a9 Clean up docs about next/babel (#557)
* Clean up docs about next/babel

* Add suggestions from #553
2016-12-29 10:58:28 -03:00
Guillermo Rauch d022cd9f24 Update README.md 2016-12-26 15:14:27 -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
Guillermo Rauch e81852c742 Update README.md 2016-12-24 09:57:15 -08:00
James O'Dwyer 200f8eecb2 Add warning about module.exports use (#505)
* add warning about module.exports to readme

* rm unnecessary react imports
2016-12-24 09:53:08 +05:30
Dan Zajdband d3cf72cd4f Update README.md (#499) 2016-12-24 10:36:34 +09:00
Arunoda Susiripala fb3612a941 Add SSR caching example to the README. (#503) 2016-12-24 10:30:06 +09:00
Dan Zajdband 01e1883f79 Added glamor example and pointing warning to css migration guide (#500) 2016-12-23 11:18:25 -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
Guillermo Rauch 27dedc9d6e Update README.md 2016-12-22 13:08:58 -08: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
Guillermo Rauch bb4226adcd Update README.md 2016-12-21 21:30:06 -08:00
Guillermo Rauch 41322d7d11 Update README.md 2016-12-21 21:29:12 -08:00
Rahul 4a13160f4c Fix typo (#471) 2016-12-21 19:52:43 -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
Guillermo Rauch 47956d1fbf Update README.md 2016-12-20 19:03:38 -08: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 b5c4023148 Update README.md 2016-12-20 11:27:29 -08:00
Guillermo Rauch 2a1cda283b Update README.md 2016-12-20 11:26:59 -08:00
Guillermo Rauch 905d671719 Update README.md 2016-12-20 11:19:03 -08:00
Guillermo Rauch 660147f661 Update README.md 2016-12-19 14:41:21 -08:00
Guillermo Rauch 12ae74c236 Update README.md 2016-12-19 14:37:15 -08:00
Guillermo Rauch 9f303ebe74 Update README.md 2016-12-19 14:36:33 -08:00
Guillermo Rauch 59c33e1f11 Update README.md 2016-12-19 14:35:26 -08:00
Guillermo Rauch 1980726208 Update README.md 2016-12-19 14:25:03 -08:00
Guillermo Rauch 3c25bef2ea Update README.md 2016-12-19 13:34:19 -08:00
Guillermo Rauch fce87e6e65 Update README.md 2016-12-19 11:20:18 -08:00
Arunoda Susiripala e45cc89ce3 Add deprecate messages for url.replaceTo and url.pushTo (#433) 2016-12-19 10:49:15 -08:00
Guillermo Rauch 7baebd0c0f Update README.md 2016-12-19 07:17:33 -08:00
Guillermo Rauch 7ab4f54971 Update README.md 2016-12-19 07:16:44 -08:00
Guillermo Rauch ec235dbf1e Update README.md 2016-12-19 07:04:53 -08:00
Arunoda Susiripala 22776c2eee Implement the Singleton Router API (#429)
* Immplement the initial singleton Router.

* Use the new SingletonRouter for HMR error handling.

* Use SingletonRouter inside the Link.

* Create an example app using the Router.

* Make the url parameter optional in Router.push and Router.replace

* Add a section about next/router in the README.
2016-12-19 06:40:26 -08:00
Guillermo Rauch e9543cf614 Update README.md 2016-12-17 11:48:52 -08:00
Guillermo Rauch 4e77e105af Update README.md 2016-12-17 11:33:07 -08:00
Guillermo Rauch 3b1761eb1b Update README.md 2016-12-17 11:31:34 -08:00
Guillermo Rauch 6950633796 Update README.md 2016-12-17 11:16:22 -08:00
Guillermo Rauch 86507c2cde Update README.md 2016-12-17 11:04:44 -08:00
Guillermo Rauch 6a4fbd8e50 Update README.md 2016-12-17 11:03:53 -08:00
Ives van Hoorne 5ab7463b93 Exploration of different config + expose webpack config (#222)
* Use next.config.js instead of package.json

* Remove irrelevant comment

* Integrate with custom webpack config

* Include hotReload option

* Remove async/await for getConfig

* Read package.json, show warning when webpack in config is defined

* Prepend warning message with WARNING

* Update log statements

* Documentation

* Restart server on change of config

* Fix process handling and cases where there is no config

* Also restart server when config file gets deleted

* Changed second parameter of webpack to config

* Support for returning Promise

* Update documentation, fix bug with webpack config

* Remove package.json, cdn and hotReload from config
2016-12-17 10:38:11 -08:00
Guillermo Rauch 289feeda43 Update README.md 2016-12-16 12:23:32 -08:00
Guillermo Rauch 8abcb81ec3 warn about master README 2016-12-16 12:22:55 -08:00
Arunoda Susiripala 36abdc77c5 Prefetch pages with Service Workers (#375)
* Register the service worker.

* Update prefetcher code to do prefetching.

* Implement the core prefetching API.
support "import <Link>, { prefetch } from 'next/prefetch'"

* Implement a better communication system with the service worker.

* Add a separate example for prefetching

* Fix some typos.

* Initiate service worker support even prefetching is not used.
This is pretty important since initiating will reset the cache.
If we don't do this, it's possible to have old cached resources
after the user decided to remove all of the prefetching logic.
In this case, even the page didn't prefetch it'll use the
previously cached pages. That because of there might be a already running
service worker.

* Use url module to get pathname.

* Move prefetcher code to the client from pages
Now we also do a webpack build for the prefetcher code.

* Add prefetching docs to the README.md

* Fix some typo.

* Register service worker only if asked to prefetch
We also clean the cache always, even we initialize
the service worker or not.
2016-12-15 11:13:40 -08:00