Fix small typo
Julian Viereck committed
Mar 16, 2015 at 18:27 UTC
c6108afdc7f731c5ca655aa4b1827080b836d42a
1 file changed
+1
-1
docs/docs/05-reusable-components.md
+1
-1
@@ -200,7 +200,7 @@ class HelloMessage extends React.Component {
200
React.render(<HelloMessage name="Sebastian" />, mountNode);
201
```
202
203
-The API is similar to `React.createClass` with the exception or `getInitialState`. Instead of providing a separate `getInitialState` method, you set up your own `state` property in the constructor.
203
+The API is similar to `React.createClass` with the exception of `getInitialState`. Instead of providing a separate `getInitialState` method, you set up your own `state` property in the constructor.
204
205
Another difference is that `propTypes` and `defaultProps` are defined as properties on the constructor instead of in the class body.
206