admin管理员组

文章数量:1345173

I have a question about the difference between peerDependencies vs devDependencies in react.

in package.json,

vs

Which one is correct?

Some people says that we need to put them both dependencies, but some people not.

Addtional question:

What if we are using @tanstack/react-table, where should I add it or both?

Thank you.

本文标签: reactjsCompared peerDependencies vs devDependencies in reactStack Overflow