Skip to content

Commit

Permalink
Merge branch 'master' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexryan authored Jan 26, 2018
2 parents a9f1e87 + 9704c3f commit 4a915fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions INTHEWILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Please use [pull requests](https://github.com/airbnb/enzyme/pull/new/master) to
Organizations
----------
- [Airbnb](https://github.com/airbnb)
- [Cerner](https://github.com/cerner)
- [OpenGov](https://github.com/opengov)
- [Pinterest](https://github.com/pinterest)
- [Product Hunt](https://github.com/producthunt)
Expand Down
8 changes: 0 additions & 8 deletions docs/api/ShallowWrapper/setProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ expect(spy.calledOnce).to.equal(true);
```


#### Common Gotchas

`setProps()` will not trigger the lifecycle method `componentDidUpdate` when using `shallow()` unless you set `lifecycleExperimental` to true.

```jsx
const wrapper = shallow(<MyComponent />, { lifecycleExperimental: true });
```

#### Related Methods

- [`.setState(state) => Self`](setState.md)
Expand Down

0 comments on commit 4a915fa

Please sign in to comment.