Skip to content

fix binding to aliased props #3809

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

Closed
wants to merge 3 commits into from
Closed

Conversation

Conduitry
Copy link
Member

@Conduitry Conduitry commented Oct 27, 2019

Fixes #3508. This introduces a slight byte cost to the shared helpers, but no additional per-component byte cost if the component has no aliased props.

This adds anoptional argument to the init() helper which is an object of prop names -> internal variable names, which the bind() helper uses if present.

@Conduitry Conduitry force-pushed the gh-3508 branch 2 times, most recently from dcfa375 to cc23af3 Compare October 27, 2019 18:21
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.

Binding to an aliased property results in null value
1 participant