Рет қаралды 7,481
🚀 Project React → cosden.solutions/project-react
Join The Discord! → discord.cosden.solutions
VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace"
In this video we will talk about the weirdest pattern in React. This is something that is in the official React docs, but isn't talked about often. The pattern is about setting state during rendering. Which is really weird to be honest. I will show you how to do it, and more importantly why to do it.