rsnext/test/integration/next-image-new/default
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
..
components Show error message when using legacy props on new next/image (#41930) 2022-10-27 12:17:28 -04:00
pages Remove useState from next/image (#43587) 2022-11-30 18:30:02 -08:00
public BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
test Remove useState from next/image (#43587) 2022-11-30 18:30:02 -08:00
style.module.css BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00