From 0143515ed5fcc202476ab6c2e1a3af20c31e02ae Mon Sep 17 00:00:00 2001 From: Alex Krolick Date: Sun, 8 Oct 2017 22:59:35 -0700 Subject: [PATCH] fix typos --- content/docs/faq-ajax.md | 2 +- content/docs/faq-build.md | 4 ++-- content/docs/faq-functions.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/faq-ajax.md b/content/docs/faq-ajax.md index f0b741da..511f0a9a 100644 --- a/content/docs/faq-ajax.md +++ b/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? diff --git a/content/docs/faq-build.md b/content/docs/faq-build.md index 788885b6..c447eadc 100644 --- a/content/docs/faq-build.md +++ b/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 */} ``` diff --git a/content/docs/faq-functions.md b/content/docs/faq-functions.md index 89837762..8f708c7f 100644 --- a/content/docs/faq-functions.md +++ b/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 } ```