Skip to content

Commit 0143515

Browse files
committed
fix typos
1 parent a904140 commit 0143515

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/docs/faq-ajax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ category: FAQ
88

99
### How can I make an AJAX call?
1010

11-
You can use an AJAX library you like with React. Some popular ones are [Axios](https://github.com/axios/axios), [jQuery AJAX](https://api.jquery.com/jQuery.ajax/), and the browser built-in [window.fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
11+
You can use any AJAX library you like with React. Some popular ones are [Axios](https://github.com/axios/axios), [jQuery AJAX](https://api.jquery.com/jQuery.ajax/), and the browser built-in [window.fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
1212

1313
### Where in the component lifecycle should I make an AJAX call?
1414

content/docs/faq-build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ No! Check out https://reactjs.org/docs/react-without-es6.html
1616

1717
### How can I write comments in JSX?
1818

19-
```
20-
{*/ Comment goes here */}
19+
```jsx
20+
{/* Comment goes here */}
2121
```

content/docs/faq-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Make sure you aren't _calling the function_ when you pass it to the component:
8989

9090
```jsx
9191
render() {
92-
{*/ handleClick is called instead of passed as a reference! */}
92+
{/* handleClick is called instead of passed as a reference! */}
9393
return <button onClick={this.handleClick()}>Click Me</button>
9494
}
9595
```

0 commit comments

Comments
 (0)