Skip to content

Commit

Permalink
Remove lifecycleExperimental reference from docs
Browse files Browse the repository at this point in the history
Finishing the work of enzymejs#1303
  • Loading branch information
ialexryan authored and jquense committed Feb 23, 2018
1 parent ad90c16 commit f0b8877
Showing 1 changed file with 0 additions and 8 deletions.
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 f0b8877

Please sign in to comment.