1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server
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
..
build Fix "EXDEV: cross-device link not permitted" error (#1174) 2017-02-16 15:16:02 +01:00
config.js Add X-Powered-By header. (#416) 2016-12-19 07:27:47 -08:00
document.js Move nextdata into nextScript and make Main return a single el (#831) 2017-01-19 16:14:05 -08:00
hot-reloader.js build on tmp dir (#1150) 2017-02-15 10:03:33 -03:00
index.js Handle BUILD_ID mismatch error (#1224) 2017-02-20 15:48:17 -08:00
next.js Programmatic API (#310) 2016-12-16 12:33:08 -08:00
read-page.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
render.js Remove pre-gzip support (#1155) 2017-02-15 15:49:45 +01:00
require.js write assets to disk 2016-10-16 04:49:42 +09:00
resolve.js New test setup (#640) 2017-01-12 13:14:49 +09:00
router.js Allow parsed url to be passed down (#950) 2017-02-02 12:21:08 +05:30