@radix-ui/react-slot
1.5.0 · 12 Oct 2026MIT243.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @radix-ui/react-slot From 1.1.2 to 1.5.0
12 releases in betweennotes for 11
Release by release
- New
Allow explicit
undefinedfor all optional types for compatibility with TypeScript'sexactOptionalPropertyTypesflag. - Fixed
Fixed
Slotthrowing when anasChildchild is a lazy reference whose resolved value is itself a lazy reference.
- New
- New
Added support for multiple
aria-describedbyattributes. - Fixed
Fixed compatibility issues with React Server Components.
- New
1.3.0 – 1.3.34 releases, nothing new or fixed in the notes
- New
Added support for nested
Slottablevia a render prop, so a slotted element can be wrapped while still merging Slot props and refs onto it - New
Added repository.directory to all package.json files
- Fixed
Fixed infinite re-render loop in React 19 caused by
Slotcreating a new ref callback on every render
- New
- Fixed
Fixed an issue with how slot components interact with lazy React components. In the case of a lazy component instance, the resulting promise must be consumed to render the desired component.
- Fixed
1.2.3nothing new or fixed in the note
- New
Add
use clientto slot entry to prevent RSC errors
- New
1.2.0 – 1.2.12 releases, nothing new or fixed; 1 without a note
6 other lines we could not sort, mostly version bumps
- 1.3.3
Reverted breaking changes that caused compatibility issues with React Server Components.
- 1.3.1
Republish through CI to attach provenance attestations. The previous versions of these packages were published manually outside of CI and therefore shipped without provenance; this patch re-releases the same code through the CI pipeline so every package includes an attestation.
- 1.2.5
Improved error messages for invalid slot children
- 1.2.3
Replace deprecated 'ElementRef' with 'ComponentRef'
- 1.2.3
Revert slot changes causing errors in server components
- 1.2.1
Use stable composed refs in SlotClone
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.