Open slevy85 opened 4 years ago
… React setState.
This allow to use all useState features available. The storage is updated asynchronously with this effect.
I added a fix to give the correct type of the stored value, based on the initialValue. This should fix #4 .
initialValue
… React setState.
This allow to use all useState features available. The storage is updated asynchronously with this effect.