How to fix React “Invalid hook call” error when importing npm link(ed) component that depends on styled-components?

后端 未结 0 594
清歌不尽
清歌不尽 2021-01-27 23:03

First, I added react, react-dom and styled-components to peerDependencies of npm link(ed) component (and removed these depend

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