You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,26 +37,24 @@ class HelloMessage extends React.Component {
37
37
}
38
38
39
39
ReactDOM.render(
40
-
<HelloMessage name="John"/>,
40
+
<HelloMessage name="Taylor"/>,
41
41
document.getElementById('container')
42
42
);
43
43
```
44
44
45
-
This example will render "Hello John" into a container on the page.
45
+
This example will render "Hello Taylor" into a container on the page.
46
46
47
-
You'll notice that we used an HTML-like syntax; [we call it JSX](https://reactjs.org/docs/introducing-jsx.html). JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. We recommend using [Babel](https://babeljs.io/) with a [React preset](https://babeljs.io/docs/plugins/preset-react/) to convert JSX into native JavaScript for browsers to digest.
47
+
You'll notice that we used an HTML-like syntax; [we call it JSX](https://reactjs.org/docs/introducing-jsx.html). JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. The next section contains instructions for integrating React and JSX (optionally) into your project.
48
48
49
49
## Installation
50
50
51
-
React is designed for gradual adoption, and **you can use as little or as much React as you need**.
51
+
React has been designed for gradual adoption from the start, and **you can use as little or as much React as you need**:
52
52
53
-
Whether you want to get a taste of React, add some interactivity to a simple HTML page, or start a complex React-powered app, the links in this section will help you get started:
53
+
* Use [Online Playgrounds](https://reactjs.org/docs/getting-started.html#online-playgrounds) to get a taste of React.
54
+
*[Add React to a Website](https://reactjs.org/docs/add-react-to-a-website.html) as a `<script>` tag in one minute.
55
+
*[Create a New React App](https://reactjs.org/docs/create-a-new-react-app.html) if you're looking for a powerful JavaScript toolchain.
0 commit comments