Avoid stale data prop in React child component

前端 未结 0 1447
醉酒成梦
醉酒成梦 2020-12-05 07:10

From my parent component, I am passing down the state variable data as a prop to the child component. The data is fetched via fetch/UseEffect. The URL params can be modified

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