Skip to content

add resolveComponent, resolveDirective, createRenderer and withDirectives to global API #255

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 4 commits into from
Jul 20, 2020

Conversation

marina-mosti
Copy link
Collaborator

No description provided.

@marina-mosti marina-mosti changed the title add resolveComponent, resolveDirective and withDirectives to global API add resolveComponent, resolveDirective, createRenderer and withDirectives to global API Jul 19, 2020
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, @marina-mosti! I've added a few minor comments for your consideration, back to you ⚽

@marina-mosti
Copy link
Collaborator Author

Thanks for the review @NataliaTepluhina
I opted for adding a few more code examples to the withDirectives arg directives since it didn't seem to be too clear now that I took a second look at it.

Indentation is looking homogenous:

image

## withDirectives

:::warning
`withDirectives` can only be used within render functions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love these warnings!

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @marina-mosti, this looks perfect 😅

@NataliaTepluhina NataliaTepluhina merged commit d3ad441 into vuejs:master Jul 20, 2020
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.

3 participants