Releases: developit/unistore
Releases · developit/unistore
3.5.2
3.5.1
3.5.0
This release contains some TypeScript definition and dependency updates that let Unistore work with a wider variety of projects.
- Update to the official Preact X release version (#176, thanks @shoojx!)
- [ts] Change JSX typings to support both Preact 10+ and Preact 8.5+ (#158, thanks @pmkroeker!)
- [ts] Add intersection type for props (#164, thanks @metonym!)
- [ts] Add
React.FC
support to the React types (#174, thanks @eduardoborges!)
3.4.1
3.3.2
3.3.0
- Typings: allow async actions in types (thanks @SolarLiner!) and fix missing
devtools.d.ts
- Mark react & preact peerDependencies as optional to avoid npm warnings
3.2.1
3.2.0
- Update
connect()
to react correctly to prop changes (#120, thanks @lwakefield!)- applies to both react and preact integrations
mapStateToProps()
will be called when a component is re-rendered.
- [TS] Switch React typings from
React.Component
toReact.ComponentClass
(#119, thanks @joseluisq!)
3.1.1
3.1.0
- Improved TypeScript support! (#106, #101, #102, #108, #112 - thanks @joseluisq, @lukelindsey & @namankheterpal)
- Fix double
update()
call when mounting components (#110, thanks @cj)