Skip to content

Commit

Permalink
Merge pull request #983 from calinoracation/callie--update-shallow-docs
Browse files Browse the repository at this point in the history
Change componentDidMount to componentWillMount in shallow options api doc
  • Loading branch information
ljharb authored Jun 13, 2017
2 parents 91bf861 + 43fd6b2 commit 9a6e89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/shallow.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('<MyComponent />', () => {
1. `node` (`ReactElement`): The node to render
2. `options` (`Object` [optional]):
- `options.context`: (`Object` [optional]): Context to be passed into the component
- `options.disableLifecycleMethods`: (`Boolean` [optional]): If set to true, `componentDidMount`
- `options.disableLifecycleMethods`: (`Boolean` [optional]): If set to true, `componentWillMount`
is not called on the component, and `componentDidUpdate` is not called after
[`setProps`](ShallowWrapper/setProps.md) and [`setContext`](ShallowWrapper/setContext.md).

Expand Down

0 comments on commit 9a6e89c

Please sign in to comment.