Unistore Versions Save

🌶 350b / 650b state container with component actions for Preact & React

3.5.2

3 years ago
  • Removes deprecated hook warnings in React 16 (#172, thanks @Akiyamka)

3.5.1

4 years ago
  • [ts] Fix incorrect React.FC typings in 3.5.0 (#178, #177, thanks @dan-lee!)

3.5.0

4 years ago

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

5 years ago
  • ⚛️ Add support for Preact X! Huge thanks to @38elements and @kidqueb.

    💁‍♀️ backwards compatible, so the preact bindings work with any version.

3.3.2

5 years ago
  • Make peerDependencies optional (essentially removed) to avoid npm showing warnings to users installing unistore who aren't using React or Preact. Thanks @Timer!

3.3.0

5 years ago
  • 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

5 years ago
  • Fix missing devtools.d.ts typings in published module
  • Allow any arguments to BoundAction (#129, thanks @reallyely)

3.2.0

5 years ago
  • 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 to React.ComponentClass (#119, thanks @joseluisq!)

3.1.1

5 years ago
  • [TS] Fix types for Preact 8
  • [TS] Allow component State generic

3.1.0

5 years ago
  • Improved TypeScript support! (#106, #101, #102, #108, #112 - thanks @joseluisq, @LukeLindsey & @namankheterpal)
  • Fix double update() call when mounting components (#110, thanks @cj)