rsnext/test/integration/preload-viewport/pages
Joe Haddad 990eda2c88
Prefetch SSG Data (#10127)
* Prefetch SSG Data

* Update packages/next/client/page-loader.js

Co-Authored-By: JJ Kasper <jj@jjsweb.site>

* Revert router.ts

* Revert link.tsx

* undo change

* mimmic existing

* simplify

* Prefetch href and asPath

* fix load

* dedupe prefetchAs

* Inject script tag on hover

* comment prefetchAs

* minify code

* introduce lazy files

* Add some breathing room

* correct default type

* Prefetch non-dynamic data

* Prefetch dynamic route data

* Fix size test

* Humanize code

* add tests

* Disable code

* Only generate modern version in modern mode

* Extract function helper

* add comments

* Filter out dynamic route to simplify manifest size

* add test

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-03-02 12:14:40 -05:00
..
dynamic Correct URI Encoding Order (#9638) 2019-12-05 12:10:37 -06:00
ssg Prefetch SSG Data (#10127) 2020-03-02 12:14:40 -05:00
another.js Use intersection observer to preload in viewport (#7196) 2019-05-01 15:14:27 +02:00
de-duped.js Prevent re-observing for an already prefetched page (#9644) 2019-12-20 15:30:58 -06:00
first.js Use intersection observer to preload in viewport (#7196) 2019-05-01 15:14:27 +02:00
index.js Speculate Navigations for Client-Side JS (#10560) 2020-02-17 14:46:15 -06:00
invalid-prefetch.js Make sure to handle rejection when prefetching pages (#10579) 2020-02-18 15:28:29 -06:00
invalid-ref.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
multi-prefetch.js Enable New Chunking Behavior (#9731) 2020-01-03 15:55:10 -05:00
not-de-duped.js Correctly Dedupe Prefetching (#10758) 2020-02-29 18:06:18 -05:00
opt-out.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00