Why is an object behaving differently in React than in Vanilla JavaScript?

前端 未结 0 1115
耶瑟儿~
耶瑟儿~ 2021-01-03 20:35

I have a matrix stored in a React useState like this

const [matrix, setMatrix]=useState([])

At this point the state looks like this:<

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