rsnext/test/e2e/app-dir/app
Josh Story 79b7c1493b
App Router Preinitialize all required scripts except one for bootstrap (#53705)
Currently all scripts that are required for every page are loaded as
part of the bootstrap scripts API in React. Unfortunately this loads
them all as sync scripts and thus requires preloading which increases
their priority higher than they might otherwise be causing things like
images to load later than desired, blocking paint. We can improve this
by only using one script for bootstrapping and having the rest
pre-initialized. This only works because all of these scripts are
webpack runtime or chunks and can be loaded in any order asynchronously.

With this change we should see improvements in LCP and other metrics as
preloads for images are favored over loading scripts

Co-authored-by: Steven <steven@ceriously.com>
2023-08-08 17:28:17 -07:00
..
app App Router Preinitialize all required scripts except one for bootstrap (#53705) 2023-08-08 17:28:17 -07:00
pages test: pages react version with react hook in deployment (#48907) 2023-05-09 11:16:56 +02:00
public Load beforeInteractive scripts properly without blocking hydration (#41164) 2022-10-09 15:08:51 +00:00
styles Leverage mini css plugin hmr for app dir (#38830) 2022-07-21 14:38:04 +02:00
index.test.ts App Router Preinitialize all required scripts except one for bootstrap (#53705) 2023-08-08 17:28:17 -07:00
middleware.js Fix RSC navigation when overriding headers in middleware (#46049) 2023-02-17 16:34:35 +01:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
standalone.test.ts type check tests (and convert next-test-utils.js to ts) (#51071) 2023-06-23 17:42:50 +00:00
useReportWebVitals.test.ts Fix flaky css test and remove unused tests deps (#47806) 2023-04-01 16:58:32 -07:00
vercel-speed-insights.test.ts Update naming for Next.js Analytics (#48618) 2023-04-24 12:14:45 +02:00