Browse Source

fix typos

main
Alex Krolick 7 years ago
parent
commit
0143515ed5
  1. 2
      content/docs/faq-ajax.md
  2. 4
      content/docs/faq-build.md
  3. 2
      content/docs/faq-functions.md

2
content/docs/faq-ajax.md

@ -8,7 +8,7 @@ category: FAQ
### How can I make an AJAX call?
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).
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).
### Where in the component lifecycle should I make an AJAX call?

4
content/docs/faq-build.md

@ -16,6 +16,6 @@ No! Check out https://reactjs.org/docs/react-without-es6.html
### How can I write comments in JSX?
```
{*/ Comment goes here */}
```jsx
{/* Comment goes here */}
```

2
content/docs/faq-functions.md

@ -89,7 +89,7 @@ Make sure you aren't _calling the function_ when you pass it to the component:
```jsx
render() {
{*/ handleClick is called instead of passed as a reference! */}
{/* handleClick is called instead of passed as a reference! */}
return <button onClick={this.handleClick()}>Click Me</button>
}
```

Loading…
Cancel
Save