React sub component changes root array state variable with Context API and Memo - will all sub components render or not?

前端 未结 0 643
一向
一向 2020-12-16 19:11

I\'m developing a react web application. Upon loading it, I fetch data from a REST service and store it in the root component\'s state variable called users.

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