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 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
..
router Handle BUILD_ID mismatch error (#1224) 2017-02-20 15:48:17 -08:00
app.js Use ErrorDebug component on error of react-hot-loader (#852) 2017-01-21 10:46:18 -08:00
css.js Only show deprecation when using next/css (#762) 2017-01-13 14:46:21 -08:00
error-debug.js tweak font sizes again 🙈 2017-01-21 18:12:27 -08:00
error.js Fix status messages on error (#1131) 2017-02-14 16:15:42 +01:00
eval-script.js remove gulpfile.js (#1092) 2017-02-12 17:32:45 +01:00
head.js Add default utf-8 charset. (#270) 2016-11-17 15:06:54 -08:00
link.js fix prefetch url (#1154) 2017-02-15 15:01:03 +01:00
p-queue.js improve prefetch (#1161) 2017-02-16 00:59:42 +05:30
prefetch.js fix prefetch url (#1154) 2017-02-15 15:01:03 +01: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 improve prefetch (#1161) 2017-02-16 00:59:42 +05:30