This supports non-object state. It's probably one of the biggest changes in API design throughout the zustand development history. But, probably 99.9% of users won't use it 😝 .
What's Changed
- fix(types)(middleware/devtools): fix action type in devtools's setState by @lucasrabiec in #1183
- feat(vanilla): non-object state by @dai-shi in #1144
- fix(types)(middleware): use official Config type for options by @dai-shi in #1200
- fix(types): typo in jsdoc and follow-up #1144 by @devanshj in #1199
New Contributors
- @garrett-hopper made their first contribution in #1152
- @satvikpendem made their first contribution in #1163
- @markroze made their first contribution in #1188
- @lucasrabiec made their first contribution in #1184
- @spenceradolph made their first contribution in #1193
Full Changelog: v4.0.0...v4.1.0