Tydux
Tydux copied to clipboard
Define redux-devtools-extension as dependency or peerDependency
Tydux uses redux-devtools-extension, e.g. in store.ts. But it neither declares it as dependency or peerDependency. As of redux itself is declared as peerDependency I would suggest to declare redux-devtools-extension also as peerDependency.
In the actual package.json this package is reverenced as a dependency as follows "redux-devtools-extension": "2.13.8"
. Should we close this issue or move it to peer-dependencies?
I'm still pro dev-dependency.
The advantage of peerDependencies that we could declare the dependency but the user could still choose the version, correct? So this should apply to the redux dependency.
The redux-devtools-extension should be listed as devDependency, or shouldn't it?