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

{false && <div>Render</div>} pattern is broken. #196

Open
2 tasks done
maltium opened this issue Apr 27, 2024 · 1 comment
Open
2 tasks done

{false && <div>Render</div>} pattern is broken. #196

maltium opened this issue Apr 27, 2024 · 1 comment

Comments

@maltium
Copy link

maltium commented Apr 27, 2024

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Versions

Issue noticed on 4.1.0, on 3.0.10 it worked fine.

Description

This could be an intentional change, but as the title says, {false && <div>Render</div>} renders the text false in the DOM. My expectation would be that nothing is rendered.

Steps to Reproduce

{false && <div>Render</div>}

Expected Behavior

Nothing is rendered to the DOM

@maltium maltium changed the title {false && <div>Render</div>} pattern is broken. {false && <div>Render</div>} pattern is broken. Apr 27, 2024
@maltium maltium changed the title {false && <div>Render</div>} pattern is broken. {false && <div>Render</div>} pattern is broken. Apr 27, 2024
@arthurfiorette
Copy link
Member

#190

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