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-11-30.
1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-hot-toast 23 changes
Behavior and default changes 1
Toast styles have lower CSS specificity, making them easier to override with Tailwind CSS.
Fixes and other changes 2
Fixed toasts stopping updates after a component unmounted when multiple hooks shared the same toasterId.
Added as an optional peer dependency to fix TypeScript resolution errors in pnpm strict mode.