![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
![ReactJS State | ReactJS State Tutorial | SetState In ReactJS | ReactJS Tutorial | Simplilearn - YouTube ReactJS State | ReactJS State Tutorial | SetState In ReactJS | ReactJS Tutorial | Simplilearn - YouTube](https://i.ytimg.com/vi/DPdc5Z-Tf4U/maxresdefault.jpg)
ReactJS State | ReactJS State Tutorial | SetState In ReactJS | ReactJS Tutorial | Simplilearn - YouTube
![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)