1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test
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
..
integration Add tests for behaviour mentioned in #1079 (#1084) 2017-02-12 13:46:11 -03:00
isolated New test setup (#640) 2017-01-12 13:14:49 +09:00
lib Testing: use a better way to get a port to the test app (#753) 2017-02-09 14:40:09 +01:00
unit Introduce a simple prefetching solution (#957) 2017-02-15 14:22:22 +05:30
.babelrc Find custom babel config location properly. (#969) 2017-02-03 14:33:35 +09:00