1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/client
Arunoda Susiripala 14c86bef1d Introduce a simple prefetching solution (#957)
* Implement a very simple prefetching solution.

* Remove next-prefetcher.

* Require 'whatwg-fetch' only in the client.

* Use xhr in the code.

* Use a simple fetching solution.

* Fix 404 and xhr status issue.

* Move the prefetching implementation to next/router.

* Add deprecated warnning for next/prefetch

* Run only 2 parellel prefetching request at a time.

* Change xhr to jsonPageRes.

* Improve the prefetching logic.

* Add unit tests covering the Router.prefetch()

* Update examples to use the new syntax.

* Update docs.

* Use execOnce() to manage warn printing.

* Remove prefetcher building from the flyfile.js
Because, we no longer use it.
2017-02-15 14:22:22 +05:30
..
head-manager.js use Promise to update head (#574) 2016-12-30 11:14:36 -08:00
index.js [WIP] Remember scroll position on error (#911) 2017-01-31 08:56:17 +05:30
next-dev.js [WIP] Remember scroll position on error (#911) 2017-01-31 08:56:17 +05:30
next.js Don't discard component state on error (#741) 2017-01-11 17:58:20 -08:00
patch-react.js Copy all properties and descriptors when patching React (#1101) 2017-02-15 08:30:39 +05:30
webpack-hot-middleware-client.js Don't discard component state on error (#741) 2017-01-11 17:58:20 -08:00