v2.6.0-beta.0Pre-release
Added 2
- Support for multiple toasters
- Add dismissAll and removeAll API for working with multiple toasters
Changed 2
- Move timeouts inside a useRef
- Use data tag instead of id
Fixed 1
- Fix dispatch to be id specific
From React Hot Toast
What's new
- Adds support for multiple toasters
- Add first version of Multi toaster docs
- Add
dismissAllandremoveAllMore ergonomic API when working with multiple toasters a1d0b02
Ready to try it out?
npm i react-hot-toast@beta
Other Changes
- Update pnpm version f6c867b
- Move timeouts inside a
useRefcb1fe8e - Use data tag instead of id 1d5d3d3
- Fix dispatch to be id specific again fe934fd
- Merge branch 'main' into global-settings 0953822
- Add first version of multi toaster page 5b1ee55
- Merge branch 'main' into global-settings 4d43622
- Move toaster settings into state cf9ae4b
- Some experimentation with global settings API 2e0a4dd
https://github.com/timolins/react-hot-toast/compare/v2.5.1...v2.6.0-beta.0