value
property is nowfallback
for theStorageSignal
,LocalStorageSignal
andSessionStorageSignal
classes their corresponding functionsvalidation
property is nowparse
in theStorageSignal
,LocalStorageSignal
andSessionStorageSignal
classes their corresponding functions and is now used to parse the state instead of just validating it- New function
createState
,createSessionStorageState
andcreateLocalStorageState
added to ease the creation of signals and their corresponding state
- Fixed bad published files
- Added hooks for better developer experience (#27)
- Fix for the must call super before this error (#25)
- 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)
- Returning a getter only for the useSignal hook (#9)
- Added a method for setting the value based on the previous value (#10)
- Initial release