# What changed in @radix-ui/react-slot

> 12 changes in @radix-ui/react-slot 1 from its official release notes, upgrade guides and advisories: 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@radix-ui/react-slot/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @radix-ui/react-slot 1

### Security

- Packages are republished through CI with provenance attestations, helping developers verify their provenance. (1.3.1) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#131)

### New APIs and options

- Accepts generic type arguments to specify the type of element a slot should render and its props. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#130)
- Accepts generic type arguments to specify the type of element a slot should render and its props. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#130)
- Added support for nested Slottable via a render prop, allowing a slotted element to be wrapped while Slot props and refs are still merged onto it. (1.2.5) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#125)

### Behavior and default changes

- Supports multiple aria-describedby attributes. (1.4.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#140)

### Fixes and other changes

- Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag. (1.5.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#150)
- Fixed Slot throwing when an asChild child is a lazy reference whose resolved value is itself a lazy reference. (1.5.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#150)
- Fixed compatibility issues with React Server Components. (1.4.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#140)
- Reverted breaking changes that caused compatibility issues with React Server Components. (1.3.2) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#132-133)
- Improved error messages for invalid slot children. (1.2.5) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#125)
- Fixed an infinite re-render loop in React 19 caused by Slot creating a new ref callback on every render. (1.2.5) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#125)
- Fixed how slot components interact with lazy React components: for a lazy component instance, the resulting promise must be consumed to render the desired component. (1.2.4) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/slot/CHANGELOG.md#124)
