Wisdom takes time. It takes staring out into the rain, It takes service to others. It takes getting nothing done to make us human again. To see the connections between things requires studying the blank spaces between them, days that slip into boredom and loneliness with only a person and their senses and their imagination to keep them company. I can now see that much of what I’ve written in the past year started in 2010, in Puerto Rico. I ca…
If you know you’re going to use
setState to update your component and you know you’re going to need the current state or the current props of your component to calculate the next state, passing in a function as the first parameter of
this.setState instead of an object is the recommended solution.