-
Notifications
You must be signed in to change notification settings - Fork 47.4k
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
Compiler Logical Negation Constant Propagation #29622
Comments
nikeee
added a commit
to nikeee/react
that referenced
this issue
May 28, 2024
nikeee
added a commit
to nikeee/react
that referenced
this issue
May 28, 2024
nikeee
added a commit
to nikeee/react
that referenced
this issue
May 28, 2024
nikeee
added a commit
to nikeee/react
that referenced
this issue
May 29, 2024
josephsavona
pushed a commit
that referenced
this issue
May 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following constant propagation:
Input:
Output:
I think it can benefit dead code elimination. Is this in scope for the react compiler or is this considered as the job of the bundler? If so, is it open for contributions?
The text was updated successfully, but these errors were encountered: