@samitouri / QOS-React-2 / commits / df18770a0c

with the exception for -> with the exception of

Ben Alpert committed Mar 10, 2015 at 14:44 UTC df18770a0c96819697ee9eea1cfe1725fa6e6f04
2 files changed +2 -2
docs/_posts/2015-01-27-react-v0.13.0-beta-1.md
+1 -1
@@ -33,7 +33,7 @@ class HelloMessage extends React.Component {
33 React.render(<HelloMessage name="Sebastian" />, mountNode);
34 ```
35
36 -The API is mostly what you would expect, with the exception for `getInitialState`. We figured that the idiomatic way to specify class state is to just use a simple instance property. Likewise `getDefaultProps` and `propTypes` are really just properties on the constructor.
36 +The API is mostly what you would expect, with the exception of `getInitialState`. We figured that the idiomatic way to specify class state is to just use a simple instance property. Likewise `getDefaultProps` and `propTypes` are really just properties on the constructor.
37
38 ```javascript
39 export class Counter extends React.Component {
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 for `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 or `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