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

fix dynamic event handler for bind variables #4155

Conversation

tanhauhau
Copy link
Member

in EventHandler we are setting the reassigned in constructor, which may run first before other template components set the reassigned property for the dependencies variable.

  • the reassigned should be evaluated during "render", after template traversal.

@Conduitry Conduitry merged commit 709b4d3 into sveltejs:master Dec 24, 2019
@tanhauhau tanhauhau deleted the tanhauhau/fix-dynamic-event-handler-reassigned-race-condition branch December 24, 2019 16:00
@Conduitry
Copy link
Member

Released in 3.16.7.

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

Successfully merging this pull request may close these issues.

2 participants