rsnext/packages/next/client
Steven 7a7e7d4f93
Remove useState from next/image (#43587)
This PR remove `React.useState()` from the `next/image` component. It
was only used in the `onError` case and it was causing Safari to become
very slow when there were many images on the same page. We were seeing
1s delay blocking the main thread when there were about 350 images on
the same page. Chrome and Firefox were not slow.
2022-11-30 18:30:02 -08:00
..
compat next/compat/router (#42502) 2022-11-07 18:16:28 +00:00
components Fix "apply() is only allowed in ready status (state: idle)" HMR errors (#43242) 2022-11-26 23:40:05 -08:00
dev Remove stack trace from full reload warning (#43453) 2022-11-28 13:18:26 +00:00
legacy Replace global with globalThis (#42627) 2022-11-08 14:45:30 +01:00
portal refactor(portal): remove useRef from portal component (#39792) 2022-08-21 09:39:43 +00:00
add-base-path.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
add-locale.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
app-bootstrap.js Load beforeInteractive scripts properly without blocking hydration (#41164) 2022-10-09 15:08:51 +00:00
app-index.tsx Optimize bundle size for appDir (#42252) 2022-10-31 17:50:35 +00:00
app-next-dev.js Load beforeInteractive scripts properly without blocking hydration (#41164) 2022-10-09 15:08:51 +00:00
app-next.js Merge app internal chunk into main chunk for layouts (#41902) 2022-10-27 16:50:46 -07:00
detect-domain-locale.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
get-domain-locale.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
has-base-path.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
head-manager.ts Migrate head side effects to hooks (#37526) 2022-06-08 11:26:57 +00:00
image.tsx Remove useState from next/image (#43587) 2022-11-30 18:30:02 -08:00
index.tsx Change usePathname to return string | null (#42380) 2022-11-03 13:34:50 -07:00
link.tsx App directory next/link dynamic href dev error (#43074) 2022-11-25 15:03:00 +01:00
next-dev.js Add hard navigation guard and fix middleware rewrite cases (#37815) 2022-06-20 11:31:19 +00:00
next.js Split up & tweak next/client initialization (#33838) 2022-03-07 17:09:55 +00:00
normalize-locale-path.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
normalize-trailing-slash.ts Update experimental skipTrailingSlashRedirect handling (#43201) 2022-11-21 13:25:01 -08:00
page-loader.ts feat(next): Support has match and locale option on middleware config (#39257) 2022-08-31 11:23:30 -05:00
performance-relayer-app.ts Optimize bundle size for appDir (#42252) 2022-10-31 17:50:35 +00:00
performance-relayer.ts add attribution to web vitals (#39368) 2022-10-04 00:17:30 +00:00
remove-base-path.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
remove-locale.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
request-idle-callback.ts types: better type definition for internal utils (#43070) 2022-11-19 16:09:13 -08:00
route-announcer.tsx next/compat/router (#42502) 2022-11-07 18:16:28 +00:00
route-loader.ts Adopt script rejection pattern for link onerror. (#42645) 2022-11-09 19:58:20 +00:00
router.ts next/compat/router (#42502) 2022-11-07 18:16:28 +00:00
script.tsx Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
trusted-types.ts Route Loader Trusted Types Violation Fix (#34730) 2022-05-03 23:22:08 +00:00
use-intersection.tsx refactor(use-intersection): remove useRef usage (#39791) 2022-08-21 10:10:09 +00:00
with-router.tsx Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00