An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
1.58k
stars
109
forks
source link
[Bug] Values set to `null` or `undefined` are not reflected by other observers #244
Closed
autoreleasefool closed 2 years ago
Describe the bug
Any operation that sets a value for a specific key to
null
orundefined
is ignored by any other places the key is being observed.To Reproduce Steps to reproduce the behavior:
I would expect, in the above scenario, for my
update
function, after callingclearStorage()
to output:But it is never changed to
undefined
Expected behavior
Setting a value for a key to
null
orundefined
should cause all observers to update and adopt the new value accordingly.Screenshots If applicable, add screenshots to help explain your problem.
Platform Information: