Loading

functional programming

the tricky functional programming is to make sure that you're not changint anything the outside of the world!

实验:this.setState(old => {
old.name = "123";
return old;

})

posted @ 2021-11-26 18:27  .net's  阅读(25)  评论(0)    收藏  举报