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

[BUG] changing a state item with null fails to reload component #5

Closed
bernatfortet opened this issue Apr 13, 2019 · 2 comments
Closed

Comments

@bernatfortet
Copy link

I'm not sure if I'm doing something wrong, but when I change state with a null value it fails to reload

Repro Steps:

@drcmda
Copy link
Member

drcmda commented Apr 13, 2019

sigh, javascript

typeof null === 'object' // true

i'm not even surprised about this language anymore. i'll fix it. it's crashing trying to run Object(selected).entries, thinking selected is an object.

@drcmda
Copy link
Member

drcmda commented Apr 13, 2019

it's fixed and published: 0.0.5

@drcmda drcmda closed this as completed Apr 13, 2019
drcmda added a commit that referenced this issue Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants