-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Using {...spread} alongside ternary errors out #1515
Comments
It looks like this actually happens when any attribute in an element using spreads (or prop in a component using spreads) has two or more dependencies. It's an order of operations thing. In the code for this REPL example, we're generating |
Opened PR #1516. |
fix spread when an attribute or prop has multiple dependencies
REPL
If you have some attribute defined by a ternary operator and try to spread some object, this happens:
The text was updated successfully, but these errors were encountered: