Please sign in to comment.
Ensure saving a non-value to storage actually removes it.
localStorage coerces everything to a String before saving it, so setting undefined results in getting "undefined". This change causes falsey values to be removed rather than being string coerced. It also introduces a fix to dirty storage from this issue. Fixes #234
- Loading branch information...