Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set undefined value in store #50

Closed
mufasa71 opened this issue Mar 14, 2019 · 2 comments
Closed

Can't set undefined value in store #50

mufasa71 opened this issue Mar 14, 2019 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@mufasa71
Copy link

Code to reproduce the issue:
https://codesandbox.io/s/lp1roln39q
Expected behavior:
Should reset value to undefined
Actual behavior:
Does not resets value in store
Versions of packages used:
0.18.2

@mufasa71 mufasa71 added the bug Something isn't working label Mar 14, 2019
@goodmind goodmind added wontfix This will not be worked on and removed bug Something isn't working labels Mar 14, 2019
@goodmind
Copy link
Contributor

goodmind commented Mar 14, 2019

@mufasa71 undefined is special value, don't use in stores, use null instead.
I will add warning about this

Working code: https://codesandbox.io/s/92x5jj17or

@goodmind goodmind added the enhancement New feature or request label Mar 14, 2019
@goodmind
Copy link
Contributor

Fixed in 1a8fa21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants