-
Notifications
You must be signed in to change notification settings - Fork 48
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
Boolean false
converted to string "false"
#42
Comments
There's a PR to fix this: #35 |
@slaskis Why hasn't it been merged? 🤔 |
In part because of this which might make it a possible breaking change for some. So I just wanted it reviewed/accepted by someone first. But then I don't use this library much anymore so I kind of forgot 🤷♂️ |
Thanks. I think we can all agree hyperx should be agnostic about vdom implementations. So, perhaps your PR could be merged and that str.replace issue taken upstream to virtual-dom? |
@substack Do you think #35 can be merged? |
* Also remove redundant boolean/string checks when using setElementData/updateElementData, etc. * This temporarily breaks Hyperx until choojs/hyperx/issues/42 is resolved.
* Also remove redundant boolean/string checks when using setElementData/updateElementData, etc. * This temporarily breaks Hyperx until choojs/hyperx/issues/42 is resolved.
* Also remove redundant boolean/string checks when using setElementData/updateElementData, etc. * This temporarily breaks Hyperx until choojs/hyperx/issues/42 is resolved.
This makes it difficult (or impossible?) for a virtual DOM engine to determine whether the user meant
false
or "false".If this is indeed determined to be a bug, I'd be delighted to help with if you'd be so kind to offer some help by pointing out where should I start looking in the code.
Cheers! 👋
The text was updated successfully, but these errors were encountered: