DEV Community

loading...

Discussion on: How To Use Redux with Hooks in a React-TypeScript Project

Collapse
awixor profile image
EL HOUCINE AOUASSAR

Great article thanks,
I just wanna know why did you use @reduxjs/toolkit and react-redux at the same time,
I read in a different article that @reduxjs/toolkit is the official, opinionated, toolset for react-redux.

Collapse
geraldmaboshe profile image
Gerald Author

Thanks. I had to install both because I did not use the npx create-react-app my-app --template redux to create my react app. So I needed to install react-redux manually for us to use Redux with React