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
@@ -142,29 +141,29 @@ class Home extends Component {
142
141
143
142
<Container>
144
143
<divcss={[sharedStyles.markdown,markdownStyles]}>
145
-
<sectionclass="light home-section">
146
-
<divclass="marketing-row">
147
-
<divclass="marketing-col">
144
+
<sectionclassName="light home-section">
145
+
<divclassName="marketing-row">
146
+
<divclassName="marketing-col">
148
147
<h3>Declarative</h3>
149
148
<p>React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.</p>
150
149
<p>Declarative views make your code more predictable and easier to debug.</p>
151
150
</div>
152
-
<divclass="marketing-col">
151
+
<divclassName="marketing-col">
153
152
<h3>Component-Based</h3>
154
153
<p>Build encapsulated components that manage their own state, then compose them to make complex UIs.</p>
155
154
<p>Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.</p>
156
155
</div>
157
-
<divclass="marketing-col">
156
+
<divclassName="marketing-col">
158
157
<h3>Learn Once, Write Anywhere</h3>
159
158
<p>We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.</p>
160
159
<p>React can also render on the server using Node and power mobile apps using <ahref="https://facebook.github.io/react-native/">React Native</a>.</p>
161
160
</div>
162
161
</div>
163
162
</section>
164
-
<hrclass="home-divider"/>
165
-
<sectionclass="home-section">
163
+
<hrclassName="home-divider"/>
164
+
<sectionclassName="home-section">
166
165
<divid="examples">
167
-
<divclass="example">
166
+
<divclassName="example">
168
167
<h3>A Simple Component</h3>
169
168
<p>
170
169
React components implement a `render()` method that takes input data and
@@ -180,7 +179,7 @@ class Home extends Component {
180
179
</p>
181
180
<div id="helloExample"></div>
182
181
</div>
183
-
<divclass="example">
182
+
<divclassName="example">
184
183
<h3>A Stateful Component</h3>
185
184
<p>
186
185
In addition to taking input data (accessed via `this.props`), a
@@ -190,7 +189,7 @@ class Home extends Component {
190
189
</p>
191
190
<divid="timerExample"></div>
192
191
</div>
193
-
<divclass="example">
192
+
<divclassName="example">
194
193
<h3>An Application</h3>
195
194
<p>
196
195
Using `props` and `state`, we can put together a small Todo application.
@@ -201,7 +200,7 @@ class Home extends Component {
201
200
</p>
202
201
<divid="todoExample"></div>
203
202
</div>
204
-
<divclass="example">
203
+
<divclassName="example">
205
204
<h3>A Component Using External Plugins</h3>
206
205
<p>
207
206
React is flexible and provides hooks that allow you to interface with
@@ -243,7 +242,6 @@ class Home extends Component {
0 commit comments