🌶 350b / 650b state container with component actions for Preact & React
This release contains some TypeScript definition and dependency updates that let Unistore work with a wider variety of projects.
React.FC
support to the React types (#174, thanks @eduardoborges!)💁♀️ backwards compatible, so the preact bindings work with any version.
devtools.d.ts
devtools.d.ts
typings in published moduleconnect()
to react correctly to prop changes (#120, thanks @lwakefield!)
mapStateToProps()
will be called when a component is re-rendered.React.Component
to React.ComponentClass
(#119, thanks @joseluisq!)update()
call when mounting components (#110, thanks @cj)