React Native Update State Object Into Object
this.setState(prevState => ({
...prevState,
jasper: { // object that we want to update
...prevState.jasper, // keep all other key-value pairs
name: 'something' // update the value of specific key
}
}))
Singh99