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: stop stubs leaking with localVue #1056

Merged
merged 2 commits into from Dec 7, 2018

Conversation

eddyerburgh
Copy link
Member

The render method is patched by adding a beforeCreate hook to the Vue constructor that runs before a component mounts. This PR ensures the hooks are only added to the local Vue constructor.

Fixes #1050

@eddyerburgh eddyerburgh merged commit 5500553 into vuejs:dev Dec 7, 2018
@eddyerburgh eddyerburgh deleted the fix-leaking-stubs branch December 7, 2018 16:44
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.

None yet

1 participant