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

JSX Compiler should warn the developer when a useless JSX optimization flag is used. #60

Open
farooqkz opened this issue Dec 5, 2021 · 0 comments

Comments

@farooqkz
Copy link
Contributor

farooqkz commented Dec 5, 2021

Imagine this in render():

return (
  <div $HasVNodeChildren>
    <h1>Hi</h1>
  </div>
);

$HasVNodeChildren is useless and compiler should warn the developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants