Commit graph

8 commits

Author SHA1 Message Date
Arunoda Susiripala
2aa9586052 Update prefetch docs and mention it's production only. (#1324) 2017-03-01 22:24:41 +05:30
Tim Neutkens
e1babdfe9d Render styled-jsx in _document example (#1287) 2017-02-28 05:15:49 +05:30
Marshall Bowers
8a6c57de00 Add better documentation around url.parse (#1281) 2017-02-25 19:35:10 +01:00
Arunoda Susiripala
0bd250f4aa Handle BUILD_ID mismatch error (#1224)
* Reload the page if the buildIds are mismatch.

* Reload the browser with main.js and commons.js buildId mismatch.

* Implement proper reloading with an API to persist the state.

* Add some tests for force reload.

* Change _reload to _forceReload.

* Add a section about reload hooks to the README.

* Allow to add a hook to handle BUILD_ID mismatch.

* Remove readme docs.

* Do not show a custom error to the user.

* Cancel the routing when there's a BUILD_ID mismatch.

* Fix a typo.

* Passing route to SingletonRouter.onBuildIdMismatch

* Handle buildId mismatch automatically.
2017-02-20 15:48:17 -08:00
Tim Neutkens
310f430963 Rename next/prefetch to <Next prefetch> in docs (#1206) 2017-02-19 23:56:33 +09:00
Tim Neutkens
45de5b8374 Lowercase file name (#1190) 2017-02-17 14:36:47 +01:00
Emil Bruckner
d30363800d Fix link to contributing.md (#1188)
CONTRIBUTING.md -> 404
2017-02-17 14:32:56 +01:00
Leo Lamprecht
70f02ea8af
Lowercased text files 2017-02-16 23:54:22 +01:00
Renamed from README.md (Browse further)