rsnext/packages/next/client
11koukou 7452c0bf1b
Add lazyRoot optional property to next/image component (#33290)
* Added 'rootEl' oprional property to next/Image component resembling 'root' option of the Intersection Observer API

* changed 'rootEl' to 'lazyBoundary' and its type as well

* added test, fixed initial root detection

* Update test/integration/image-component/default/test/index.test.js

Co-authored-by: Steven <steven@ceriously.com>

* prop names changed

* added 'lazyroot' prop to the documentation

* removed unused import

* Apply suggestions from code review

* Update docs with lazyRoot added in 12.0.9

Co-authored-by: Steven <steven@ceriously.com>
2022-01-25 14:54:15 +01:00
..
dev improve full refresh overlay (#33301) 2022-01-14 12:32:01 +00:00
portal Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
rsc Escape from next head in rsc _error page (#32624) 2021-12-21 19:24:57 +00: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 lazyRoot optional property to next/image component (#33290) 2022-01-25 14:54:15 +01:00
index.tsx Pre-compile more dependencies (#32742) 2022-01-17 15:17:22 +00:00
link.tsx fix(Link): Do not ignore onMouseEnter prop with absolute href (#32012) 2021-12-01 18:32:27 +00:00
next-dev.js Remove noop import (#31722) 2021-11-24 15:40:58 +01:00
next.js Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Fix RSC link navigation (#32303) 2021-12-09 14:45:22 +01: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 Give priority to document.title over h1 when announcing page change (#31147) 2021-11-08 14:58:21 +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 next/script fix duplicate scripts (#28428) 2021-08-24 11:07:38 -05:00
use-intersection.tsx Add lazyRoot optional property to next/image component (#33290) 2022-01-25 14:54:15 +01:00
vitals.ts Rename experimental vital hook (#32343) 2021-12-12 21:14:12 +01:00
with-router.tsx Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00