useLocalStorage
and useSessionStorage
is not supporting JS Set
and Map
#308
Labels
bug
Something isn't working
useLocalStorage
anduseSessionStorage
is not supporting JSSet
andMap
forvalue
field.Steps to reproduce
then try to set a new value somewhere else
Expected Behaviour
It should work properly to serialize and deserialize
Set
andMap
since when you give a type parameter touseLocalStorage<Set>
is not complain about it.Actual Behaviour
The value set in
localStorage
orsessionStorage
is{}
The text was updated successfully, but these errors were encountered: