Skip to content

Add an API entry for mergeProps #817

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

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

skirtles-code
Copy link
Contributor

@skirtles-code skirtles-code commented Jan 18, 2021

Closes #418.

mergeProps is discussed in an RFC here:

https://github.com/vuejs/rfcs/blob/master/active-rfcs/0031-attr-fallthrough.md#in-render-functions

It appears from that description that it is intended to be part of the public API.

I've added an entry to global-api.md.

I've based the layout for this entry on the entry for nextTick. Personally, I prefer the style used on the Instance Methods page but none of the functions on this page are documented that way.

Rendered: https://deploy-preview-817--vue-docs-next-preview.netlify.app/api/global-api.html#mergeprops

@NataliaTepluhina NataliaTepluhina merged commit 7198ad4 into vuejs:master Jan 18, 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.

Add mergeProps
2 participants