Skip to content

Commit d0e9bb6

Browse files
authored
Merge pull request #16 from vuejs/2.0
2.0
2 parents e9eb162 + fba655e commit d0e9bb6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/guide/comparison.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,12 @@ render () {
126126
}
127127
```
128128

129-
In Vue, we also have [render functions](render-function.html) and even [support JSX](render-function.html#JSX), because sometimes it is useful to have the power of a full programming language. Render functions are not recommended for most components however.
129+
Render functions with JSX have a few advantages:
130+
131+
- You can use the power of a full programming language (JavaScript) to build your view.
132+
- The tooling support (e.g. linting, type checking, editor autocompletion) for JSX is in some ways more advanced than what's currently available for Vue templates.
133+
134+
In Vue, we also have [render functions](render-function.html) and even [support JSX](render-function.html#JSX), because sometimes you need that power. Render functions are not recommended for most components however.
130135

131136
Instead, we offer templates as a simpler alternative:
132137

src/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Here's the full list of key modifier aliases:
209209

210210
- enter
211211
- tab
212-
- delete
212+
- delete (captures both "Delete" and "Backspace" keys)
213213
- esc
214214
- space
215215
- up

0 commit comments

Comments
 (0)