prodo-dev / prodo

Prodo is a React framework to build apps faster.
https://docs.prodo.dev
MIT License
114 stars 5 forks source link

[local plugin] Support null and undefined keys #185

Closed coffee-cup closed 5 years ago

coffee-cup commented 5 years ago

It should be valid to use a null or undefined as a value stored in local storage. Currently, this is not entirely possible because of a != null check. x.hasOwnProperty should be used instead.

https://github.com/prodo-dev/prodo/commit/3162d26977c55984b9aae9d05f104dabe524994a#r35719088

coffee-cup commented 5 years ago

Fixed via #184