React's trouble
- Wang Sibo
- Nov 28, 2019
- 1 min read
Updated: Mar 20, 2020

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
Comments