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

[WIP] Support for ref callback #4807

Merged
merged 8 commits into from
Feb 15, 2017
Merged

[WIP] Support for ref callback #4807

merged 8 commits into from
Feb 15, 2017

Conversation

znck
Copy link
Member

@znck znck commented Jan 29, 2017

Changes proposed in this pull request:

  • Add ref callback

/ping @yyx990803

@yyx990803 yyx990803 merged commit acec8db into vuejs:dev Feb 15, 2017
@yyx990803
Copy link
Member

Thanks a lot for starting the work on this. I felt it was really awkward that the user needs to manually remove a ref in the callback, so I adjusted the strategy to simply reset the $refs object on re-renders.

Also turns out the test was failing because on CI the tests are run in PhantomJS which doesn't support arrow functions...

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