rsnext/packages/next/client
Shu Ding 0eb9f7e76d
Initial implementation of statically optimized flight data of server component pages (#35619)
Part of #31506 and https://github.com/vercel/next.js/discussions/34179. This PR ensures that in the `nodejs` runtime, the flight data is statically stored as a JSON file if possible. Most of the touched code is related to conditions of static/SSG/SSR when runtime and/or RSC is involved.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-04-01 16:13:38 +00:00
..
dev chore: replace deprecated String.prototype.substr() (#35421) 2022-03-24 17:49:38 -04:00
portal Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
streaming Update rsc refresh typing and doc example (#35543) 2022-03-25 22:54:07 +01:00
head-manager.ts correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
image.tsx Add new 'raw' image layout (#34339) 2022-03-14 10:25:23 -04:00
index.tsx Initial implementation of statically optimized flight data of server component pages (#35619) 2022-04-01 16:13:38 +00:00
link.tsx Update next/link error when no children are provided (#35453) 2022-03-22 13:58:55 -05:00
next-dev.js fix: Prevent page to scroll to top during data HMR (#35739) 2022-03-30 10:45:34 -05:00
next.js Split up & tweak next/client initialization (#33838) 2022-03-07 17:09:55 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Initial implementation of statically optimized flight data of server component pages (#35619) 2022-04-01 16:13:38 +00:00
performance-relayer.ts Experimental: hook version of reportWebVitals (#28769) 2021-09-24 18:35:33 +00:00
request-idle-callback.ts upgrade to typescript 4.4.3 (#29112) 2021-09-16 18:06:57 +02:00
route-announcer.tsx Fix <RouteAnnouncer/> shouldn't announce initial path under strict mode and React 18 (#34338) 2022-02-14 19:18:39 +00:00
route-loader.ts Improve and refactor some types (#31704) 2021-11-25 10:46:00 +01:00
router.ts Custom app for server components (#33149) 2022-01-14 13:01:00 +00:00
script.tsx Adds web worker support to <Script /> using Partytown (#34244) 2022-03-11 22:26:46 +00:00
use-intersection.tsx Fix lazyRoot functionality for next/image (#33933) 2022-02-07 10:46:16 -05:00
with-router.tsx Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00