Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

docs: Use destructuring to access createApp render-function.md #354

Merged
merged 2 commits into from
Jan 21, 2021

Conversation

zhouxinyong
Copy link
Contributor

Description of Problem

keep the same with vuejs/docs#803.

Proposed Solution

Additional Information

@@ -108,8 +112,10 @@ app.component('anchored-heading', {
或者一个渲染函数里:

```js
const { h } = Vue
Copy link
Member

Choose a reason for hiding this comment

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

这两行原文里没有,需要删掉

@@ -120,7 +126,9 @@ render() {
Vue 通过建立一个**虚拟 DOM** 来追踪自己要如何改变真实 DOM。请仔细看这行代码:

```js
return Vue.h('h1', {}, this.blogTitle)
const { h } = Vue
Copy link
Member

Choose a reason for hiding this comment

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

这两行原文里没有,需要删掉

Copy link
Member

Choose a reason for hiding this comment

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

下面还有一些地方是同样的建议

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已经删除

@Justineo Justineo changed the title docs: Use destructuring to access createApp, etc. in render-function.md docs: Use destructuring to access createApp render-function.md Jan 21, 2021
@Justineo Justineo merged commit b6e8203 into vuejs:master Jan 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants