update an object key value in state react

Solutions on MaxInterview for update an object key value in state react by the best coders in the world

showing results for - "update an object key value in state react"
Jock
01 Mar 2016
1this.setState({
2    jasper: {
3          ...this.state.jasper,
4          name: 'something'
5    }
6})