The novice asks whether the settings in state in react can be added in a non-manual way.

 :this.state={key1:value1,key2:value2}, 
 
 :this.state={key1:value1,key2:value2,key3:value3}
 
 statekey3:value3,
 
 this.statepush(),this.state.push(key3,value3)
 this.state={key1:value1,key2:value2,key3:value3}
 
 this.statepush()
 this.state

this.state = {key1: value1, key2: value2}

this.setState({key3: value3});

//this.state = {key1: value1, key2: value2, key3: value3};

this.setState({key1: updateValue1});

//this.state = {key1: updateValue1, key2: value2, key3: value3};
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e73d30-489.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e73d30-489.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?