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(runtime-core): remove props from SetupContext while in __dev__ mode #3492

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

nrgnrg
Copy link
Contributor

@nrgnrg nrgnrg commented Mar 26, 2021

While in __dev__ mode SetupContext returns an additional props key which is not there when in production.

This PR brings the SetupContext object returned in __dev__ mode inline what is returned in production and what is written in the docs.

SetupContext being the second argument when calling setup() or the result of calling useContext().

@yyx990803 yyx990803 merged commit 4549e65 into vuejs:master Mar 27, 2021
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