release notes
release notes
Published 10/30/2021
PatchSafe upgradev3.6.0 introduced middleware types trying to infer store types as much as possible. However, it doesn't work well for several cases, and users need to type manually which was actually hard. In this version, middleware types are simplified and let users to explicitly type when needed more easily. Many examples are in tests/middlewareTypes.test.tsx. If you find issues or need some more typing examples, please report them.
Full Changelog: https://github.com/pmndrs/zustand/compare/v3.6.1...v3.6.2
release notes
Published 10/30/2021
PatchSafe upgradev3.6.0 introduced middleware types trying to infer store types as much as possible. However, it doesn't work well for several cases, and users need to type manually which was actually hard. In this version, middleware types are simplified and let users to explicitly type when needed more easily. Many examples are in tests/middlewareTypes.test.tsx. If you find issues or need some more typing examples, please report them.
Full Changelog: https://github.com/pmndrs/zustand/compare/v3.6.1...v3.6.2
🐻 Bear necessities for state management in React