Skip to content

Commit 5709268

Browse files
authored
fix: createVnode() -> createVNode()
1 parent 9c3535f commit 5709268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/extras/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const vnode = h(
2626
)
2727
```
2828

29-
`h()` is short for **hyperscript** - which means "JavaScript that produces HTML (hypertext markup language)". This name is inherited from conventions shared by many virtual DOM implementations. A more descriptive name could be `createVnode()`, but a shorter name helps when you have to call this function many times in a render function.
29+
`h()` is short for **hyperscript** - which means "JavaScript that produces HTML (hypertext markup language)". This name is inherited from conventions shared by many virtual DOM implementations. A more descriptive name could be `createVNode()`, but a shorter name helps when you have to call this function many times in a render function.
3030

3131
The `h()` function is designed to be very flexible:
3232

0 commit comments

Comments
 (0)