@rindo/core
Advanced tools
Changelog
π³ 4.22.1 (2025-01-31)
ShadowRoot
window primitive (fe7f263)globalThis
(cab07aa)referenceNode
is child node of styleContainerNode
(dbddccf)Changelog
π³ 4.22.1 (2025-01-31)
ShadowRoot
window primitive (fe7f263)globalThis
(cab07aa)referenceNode
is child node of styleContainerNode
(dbddccf)Changelog
β΅οΈ 4.21.0 (2025-01-28)
asyncLoading
build conditional to true
(242a39d)localName
over originalName
by running an empty check on originalName
(7bacaa8)insertBefore
(71a3e59)prepend
to remove null
node (000dd4c)serializeShadowRoot
flag (3dfa8cf)Changelog
π’ 4.20.0 (2025-01-26)
@rindo/core/testing/jest-preset
to export map (2918f2c)pull_request_target
trigger (c5c11c7)shadowRoot
getter to avoid hydration issues (396e80b)screenshot
export (bfd338b)beforeHydrateFn
and afterHydrateFn
always return a function (afe0507)isSameVnode
return false on initial render in a hydration case (a05673c)As weβve made further enhancements to support declarative Shadow DOM, the Rindo team has determined that itβs not feasible to allow users to render a shadow component as a scoped component after compilation, such as by calling renderToString
with serializeShadowRoot: false
. This is because Rindo compiles styles for either shadow or scoped mode during the compilation process, embedding these styles into the hydrate module. Once this compilation is complete, the styles cannot be transformed to support the other mode. Recognizing that this change would impact the current functionality, the Rindo team has decided to proceed with this update. Moving forward, we recommend serializing all components marked with shadow: true as declarative Shadow DOM.