Wang SiboNov 28, 20191 min readReact's troubleUpdated: Mar 20, 2020You need a "Temp" variable and give it to "Set" method, therefore you can set it successfully. Or, you can not change it because the address does not change. The compiler does not know that you change it
You need a "Temp" variable and give it to "Set" method, therefore you can set it successfully. Or, you can not change it because the address does not change. The compiler does not know that you change it