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

[🐞] Cannot overwrite event handlers with spread props #7216

Open
wmertens opened this issue Dec 31, 2024 · 1 comment
Open

[🐞] Cannot overwrite event handlers with spread props #7216

wmertens opened this issue Dec 31, 2024 · 1 comment

Comments

@wmertens
Copy link
Member

Which component is affected?

Qwik Optimizer (rust)

Describe the bug

If you do <div onChange$={handler} {...props} /> then the optimizer converts it into basically <div {...props} onChange$={handler} />.

Reproduction

https://qwik.dev/playground/#f=Q040ZsbUTDTg5gFmykFUl9UamrZ2yHW0ekamumatQrWenh5Yc%2B1oKhsmqQwA

Steps to reproduce

No response

System Info

v1 and v2

Additional Information

No response

@JerryWu1234
Copy link
Contributor

What is your expected value?

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

No branches or pull requests

2 participants