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

null/undefined should be treated as false nodes #65

Closed
Mortaro opened this issue Apr 22, 2021 · 1 comment
Closed

null/undefined should be treated as false nodes #65

Mortaro opened this issue Apr 22, 2021 · 1 comment

Comments

@Mortaro
Copy link
Member

Mortaro commented Apr 22, 2021

a node that is null or undefined should generate a comment node just like false.

a node that is 0 should generate a string node with 0 as innerText

return null / undefined should skip rendering just like return false

@Mortaro
Copy link
Member Author

Mortaro commented Apr 25, 2021

Implemented in #69

@Mortaro Mortaro closed this as completed Apr 25, 2021
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

1 participant