![Using setState inside a "function as child component" generates a warning about functions not being valid children · Issue #11116 · facebook/react · GitHub Using setState inside a "function as child component" generates a warning about functions not being valid children · Issue #11116 · facebook/react · GitHub](https://user-images.githubusercontent.com/8975443/31232986-b3805930-a9eb-11e7-80ce-63a15ba3d24c.png)
Using setState inside a "function as child component" generates a warning about functions not being valid children · Issue #11116 · facebook/react · GitHub
![Satyajit Sahoo on X: "#ReactTipOfTheDay #1 React's setState takes an updater function which receives the state and props as it's argument, which means you can do something like this https://t.co/hD70ZYsMn3" / X Satyajit Sahoo on X: "#ReactTipOfTheDay #1 React's setState takes an updater function which receives the state and props as it's argument, which means you can do something like this https://t.co/hD70ZYsMn3" / X](https://pbs.twimg.com/media/DOLJLYeUMAAqayk.jpg)
Satyajit Sahoo on X: "#ReactTipOfTheDay #1 React's setState takes an updater function which receives the state and props as it's argument, which means you can do something like this https://t.co/hD70ZYsMn3" / X
![A. Sharif on X: "Updated the setState function example. Using a HOC to compose setState functions with stateless Components. #reactjs https://t.co/2x7z9uughY https://t.co/C9SnamT7xR" / X A. Sharif on X: "Updated the setState function example. Using a HOC to compose setState functions with stateless Components. #reactjs https://t.co/2x7z9uughY https://t.co/C9SnamT7xR" / X](https://pbs.twimg.com/media/C6O2w2eWcAEAjBZ.jpg:large)
A. Sharif on X: "Updated the setState function example. Using a HOC to compose setState functions with stateless Components. #reactjs https://t.co/2x7z9uughY https://t.co/C9SnamT7xR" / X
![8. Understanding State in React Class Components. Update state using the setState in ReactJs. - YouTube 8. Understanding State in React Class Components. Update state using the setState in ReactJs. - YouTube](https://i.ytimg.com/vi/E_nYkWe5j6c/maxresdefault.jpg)