Remove Keys
Assigning a value of null
or undefined
will not remove values from the store.
Use nst.remove()
to delete keys and values from the store completely.
import nst from 'myStore.js'
nst.remove('thisKeyValue')
nst.remove('otherKeyValue')
Assigning a value of null
or undefined
will not remove values from the store.
Use nst.remove()
to delete keys and values from the store completely.
import nst from 'myStore.js'
nst.remove('thisKeyValue')
nst.remove('otherKeyValue')