setState in parent component using parameter in child

前端 未结 0 796
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-28 17:42

I\'m trying to call setList (set of useState hook) from child component but react retrieve the error: TypeError setList is not a function

here the parent component. I

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