prevent child component to re-render below context provider with memo

后端 未结 0 1287
攒了一身酷
攒了一身酷 2021-01-05 10:11

I am using a context provider in React to share data across several components. However since a value gets changed from one of my subcomponents, it rerenders all of my other

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