Do we still need to do shallow/deep copy with react hooks states?

后端 未结 0 1985
时光取名叫无心
时光取名叫无心 2021-01-21 08:20

I\'ve a question regarding the useState hook since the docs say that it completely replaces the old state with the new one you provided.

unlike

相关标签:
回答
  • 消灭零回复
提交回复
热议问题