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 |
|