From 2ea33ffc3dfa34b753c03a0d2208f9f895301705 Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Fri, 22 Jun 2018 23:38:31 +0100 Subject: [PATCH] Update conditional-rendering.md (#990) `componentWillUpdate` method will be called before the render method so the returning value of the render method does not affect. --- content/docs/conditional-rendering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/conditional-rendering.md b/content/docs/conditional-rendering.md index 45be74dd..f0fa1b36 100644 --- a/content/docs/conditional-rendering.md +++ b/content/docs/conditional-rendering.md @@ -239,4 +239,4 @@ ReactDOM.render( [Try it on CodePen.](https://codepen.io/gaearon/pen/Xjoqwm?editors=0010) -Returning `null` from a component's `render` method does not affect the firing of the component's lifecycle methods. For instance, `componentWillUpdate` and `componentDidUpdate` will still be called. +Returning `null` from a component's `render` method does not affect the firing of the component's lifecycle methods. For instance `componentDidUpdate` will still be called.