how can prevent Unnecessary re-rendering childs component on changing a state in parent component despite using memo and useCallback in react js

后端 未结 0 1251
粉色の甜心
粉色の甜心 2021-01-21 08:36

I have dashboard application that has a sidebar and a content body that routes placed there , I define a state in my app.js for open and close sidebar on clicking a button , but

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