using prop-types with useEffect and i don't know why useEffect can't identify properties of propTypes

后端 未结 0 2011
慢半拍i
慢半拍i 2021-01-05 04:46

I\'m refactoring my pagination component from class to function to use react-hooks and useEffect can\'t read properties named Items and initialPage in variables named propTy

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