rsnext/packages/next
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
..
bin docs: remove --save from npm install; avoid system-ui (#10252) 2020-01-27 08:35:12 -05:00
build Prefetch SSG Data (#10127) 2020-03-02 12:14:40 -05:00
cli Add err.sh for getStaticProps error (#10619) 2020-02-21 00:45:50 -05:00
client Prefetch SSG Data (#10127) 2020-03-02 12:14:40 -05:00
export Remove old eslint-ignores from unstable_ prefix (#10740) 2020-02-28 12:40:27 -05:00
lib Remove unstable_ prefix from new methods (#10723) 2020-02-27 11:57:39 -06:00
next-server Prefetch SSG Data (#10127) 2020-03-02 12:14:40 -05:00
pages Separate Low Priority Files from Main Files (#10756) 2020-02-29 17:09:42 -05:00
server Remove Dead Code from Next Server (#10772) 2020-03-01 12:26:31 -05:00
telemetry Check next.config.js settings (#10425) 2020-02-14 15:42:44 -05:00
types Consistently Type GS(S)P (#10757) 2020-02-29 17:36:49 -05:00
amp.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
amp.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
app.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
app.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
babel.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
babel.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
client.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
client.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
config.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
config.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
constants.d.ts Remove default export from constants.d.ts (#8979) 2019-10-07 14:30:07 +02:00
constants.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
data.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
data.js amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
document.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
document.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
dynamic.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
dynamic.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
error.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
error.js Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
head.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
head.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
license.md Zeit -> ZEIT (#5804) 2018-12-03 23:01:23 +01:00
link.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
link.js Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
package.json v9.2.3-canary.19 2020-03-01 22:34:22 -05:00
README.md Update README.md 2020-02-26 15:00:26 +01:00
router.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
router.js Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
taskfile-babel.js Enable polyfillsOptimization (#10574) 2020-02-18 19:26:55 +01:00
taskfile-ncc.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
taskfile-typescript.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
taskfile.js Disable core-js on Next.js core files as it's not transforming… (#10193) 2020-01-22 14:34:49 +01:00
tsconfig.json Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the documentation.

Contributing

Please see our contributing.md.

Authors