npm / @radix-ui/react-collapsible
@radix-ui/react-collapsible
What changed in @radix-ui/react-collapsible 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 performance1 tooling4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-collapsible 16 changes
Performance 1
Improved tree-shaking lets bundlers drop unused components, enabling more effective dead-code elimination.
Tooling 1
The package was republished through CI so it includes a provenance attestation.
Fixes and other changes 4
Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.
All optional types now allow explicit undefined, for compatibility with TypeScript's exactOptionalPropertyTypes flag.
Reverted breaking changes that caused compatibility issues with React Server Components.
Fixed triggers referencing a non-existent element via aria-controls when their content is removed from the DOM.