unstale

npm / @radix-ui/react-toggle

@radix-ui/react-toggle

What changed in @radix-ui/react-toggle 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

1 performance1 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@radix-ui/react-toggle 15 changes

Performance 1

  • Improved tree-shaking lets bundlers drop unused components, enabling better dead-code elimination.

    1.1.15release notes

Tooling 1

  • The package is re-released through CI so it includes a provenance attestation.

    1.1.16release notes

Fixes and other changes 3

  • Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.

    1.2.1release notes

  • Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.

    1.2.0release notes

  • Reverted breaking changes that caused compatibility issues with React Server Components.

    1.1.18release notes