unstale

npm / react-hot-toast

react-hot-toast

What changed in react-hot-toast 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 behavior and defaults3 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

react-hot-toast 24 changes

Behavior and default changes 1

  • Toast styles have lower CSS specificity, making them easier to override with Tailwind CSS.

    2.6.1release notes

Fixes and other changes 3

  • Fixed toasts stopping updates after a component unmounted when multiple hooks shared the same toasterId.

    2.6.1release notes

  • Added as an optional peer dependency to fix TypeScript resolution errors in pnpm strict mode.

    2.6.1release notes

  • Added as an optional peer dependency to fix TypeScript resolution errors in pnpm strict mode.

    2.6.1release notes