gruns / gruns/ImmortalDB

Undefined should not be counted as value?

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.1k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Consider the case:
* 3 stores (cookie, localstorage, indexdb) are used.
* 2 out of 3 loses value (no matter which).
* Value counter makes 3rd value disappear too, since "undefined" response from first storages is treated as some value.

Expected behaviour: value will be recreated in 2 stores that returned undefined.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.