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

.bind props are compared if there is a t-props #1450

Open
ged-odoo opened this issue Jun 5, 2023 · 0 comments
Open

.bind props are compared if there is a t-props #1450

ged-odoo opened this issue Jun 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ged-odoo
Copy link
Contributor

ged-odoo commented Jun 5, 2023

The code that compares props is different when there is a t-props directive. In that case, it compares all props, including potentially props that have a .bind suffix.

In this playground example we have two counters. Clicking on the second will trigger a render for the parent and the second counter, which is expected. However, clicking on the first will cause a render for the parent and both counter. This is not wanted.

@sdegueldre sdegueldre added the bug Something isn't working label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants