v2.3.0
Added 1
- Expose react-hot-toast/headless for headless environments like react-native
Changed 3
- Bundle is now 15% smaller (5% gzipped)
- Dev builds are 3x faster
- Switch bundler setup from tsdx to tsup
From React Hot Toast
Better bundle setup
This release focuses on build and bundle improvements (faster, lighter & better).
- Expose
react-hot-toast/headless- for headless environments like react-native - Bundle is now 15% (5% gzipped) smaller
- Bonus: 3x faster dev builds
What's Changed
- Improve dev setup (
pnpm, update deps) by @timolins in https://github.com/timolins/react-hot-toast/pull/203 - New bundler setup (tsup instead of tsdx) with
react-hot-toast/headlessby @timolins in https://github.com/timolins/react-hot-toast/pull/205 - Website Example: Make snippet consistent with action by @diksown in https://github.com/timolins/react-hot-toast/pull/196
- Docs: update version 2 page custom render api code example by @AnishDe12020 in https://github.com/timolins/react-hot-toast/pull/175
- fix: csstype peer dep by @eeston in https://github.com/timolins/react-hot-toast/pull/183
- Site Docs: 'one' => 'once' :) by @cbserra in https://github.com/timolins/react-hot-toast/pull/201
- Website Example: Make snippet consistent with action by @diksown in https://github.com/timolins/react-hot-toast/pull/196
New Contributors
- @AnishDe12020 made their first contribution in https://github.com/timolins/react-hot-toast/pull/175
- @eeston made their first contribution in https://github.com/timolins/react-hot-toast/pull/183
- @cbserra made their first contribution in https://github.com/timolins/react-hot-toast/pull/201
- @diksown made their first contribution in https://github.com/timolins/react-hot-toast/pull/196
Full Changelog: https://github.com/timolins/react-hot-toast/compare/v2.2.0...v2.3.0