Mind of React: Should I Add an Item to State, or a Variable in render()?
When gardening, you go to the shed, and in your bucket of garden tools, you see a medium sized garden trowel, and a similar trowel with a pointed nose. You decide you need to bring them both with you to plant your cactus, but was this really necessary? You could have used just one. Similarly, …
Mind of React: Should I Add an Item to State, or a Variable in render()? Read More »