#notes
Read more stories on Hashnode
Articles with this tag
In any class-based component, there are two ways we can update the state, and below is a brief explanation. The first one this.setState({name: {...