Home > Software design >  Should i Install redux package for using redux-toolkit?
Should i Install redux package for using redux-toolkit?

Time:07-11

Need redux-toolkit package for redux package, or it will work without it

CodePudding user response:

You should install redux-toolkit only. As you can see here redux toolkit npm, redux-toolkit has redux as its dependency.

CodePudding user response:

Look at theirs package.json, you should install libs from peerDependencies. Redux is in dependency so if you do not import and use it somewhere you don't need to install it (it would be installed automatically).

  • Related