Can I keep derived state in state in React if memoization is not efficient?

前端 未结 0 1895
故里飘歌
故里飘歌 2021-02-14 07:03

Summary

I pass a prop to a child component. This prop is calculated from the state of the parent component. However, computing the prop from scratch at every render is

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