Leandro A. Siqueira
1 min readMar 25, 2019

--

state should be stale, so you need to define it on the render section as a variable, const {state} = this.state; This should help to avoid the gaps with this.setState({})

--

--

Leandro A. Siqueira
Leandro A. Siqueira

Written by Leandro A. Siqueira

Well, I woke up this morning and I got myself a beer!

Responses (1)