@samitouri / QOS-React-2 / commits / 5120bf897c

Doc change for prevContext removal in CDU (#10836)

* Doc change for prevContext removal in CDU Ref: https://github.com/facebook/react/issues/8631 * Minor rewording

Samuel Reed committed Sep 26, 2017 at 12:29 UTC 5120bf897c1367fcb02bf8fcaa8af8728e65b1f3
1 file changed +2 -1
docs/docs/context.md
+2 -1
@@ -153,7 +153,8 @@ If `contextTypes` is defined within a component, the following [lifecycle method
153 - [`componentWillReceiveProps(nextProps, nextContext)`](/react/docs/react-component.html#componentwillreceiveprops)
154 - [`shouldComponentUpdate(nextProps, nextState, nextContext)`](/react/docs/react-component.html#shouldcomponentupdate)
155 - [`componentWillUpdate(nextProps, nextState, nextContext)`](/react/docs/react-component.html#componentwillupdate)
156 -- [`componentDidUpdate(prevProps, prevState, prevContext)`](/react/docs/react-component.html#componentdidupdate)
156 +
157 +> Note: As of React 16, `componentDidUpdate` no longer receives `prevContext`.
158
159 ## Referencing Context in Stateless Functional Components
160