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 d3b1ead149 Implement "on demand entries" (#1111)
* Add a plan for dynamic entry middleware.

* Use dynamic pages middleware to load pages in dev.

* Add the first version of middleware but not tested.

* Integrated.

* Disable prefetching in development.
Otherwise it'll discard the use of dynamic-entries.

* Build custom document and error always.

* Refactor code base.

* Change branding as on-demand entries.

* Fix tests.

* Add a client side pinger for on-demand-entries.

* Dispose inactive entries.

* Add proper logs.

* Update grammer changes.

* Add integration tests for ondemand entries.

* Improve ondemand entry disposing logic.

* Try to improve testing.

*  Make sure entries are not getting disposed in basic integration tests.

* Resolve conflicts.

* Fix tests.

* Fix issue when running Router.onRouteChangeComplete

* Simplify state management.

* Make sure we don't dispose the last active page.

* Reload invalid pages detected with the client side ping.

* Improve the pinger code.

* Touch the first page to speed up the future rebuild times.

* Add Websockets based pinger.

* Revert "Add Websockets based pinger."

This reverts commit f706a49a3d886d0231259b7a1fded750ced2e48f.

* Do not send requests per every route change.

* Make sure we are completing the middleware request always.

* Make sure test pages are prebuilt.
2017-02-26 11:45:16 -08:00
..
router Implement "on demand entries" (#1111) 2017-02-26 11:45:16 -08:00
app.js Use ErrorDebug component on error of react-hot-loader (#852) 2017-01-21 10:46:18 -08:00
css.js Remove traces of glamor (#1286) 2017-02-26 17:58:00 +05:30
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: cmd+click Links (#1233) 2017-02-21 10:08:54 -08: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