Skip to content

Files

Latest commit

 

History

History
53 lines (35 loc) · 2.02 KB

CHANGELOG.md

File metadata and controls

53 lines (35 loc) · 2.02 KB

Changelog

Versions

2.0.0

  • value property is now fallback for the StorageSignal, LocalStorageSignal and SessionStorageSignal classes their corresponding functions
  • validation property is now parse in the StorageSignal, LocalStorageSignal and SessionStorageSignal classes their corresponding functions and is now used to parse the state instead of just validating it
  • New function createState, createSessionStorageState and createLocalStorageState added to ease the creation of signals and their corresponding state

1.2.1

  • Fixed bad published files

1.2.0

  • Added hooks for better developer experience (#27)

1.1.1

  • Fix for the must call super before this error (#25)

1.1.0

  • Added an example for working with http request (#18)
  • Adedd a more complex example (#19)
  • Added a badge for the type definition (#20)
  • Added a badge for displaying the NPM version (#21)
  • Added the missing part of the type definition of the signal construction in the documentation (#22)
  • Added unit tests (#23)

1.0.0

  • Returning a getter only for the useSignal hook (#9)
  • Added a method for setting the value based on the previous value (#10)

0.2.0

  • Added storage signals (#6)
  • Added a constructor function (#7)

0.1.0

  • Initial release