Difference between Redux and React-Redux | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Difference between Redux and React-Redux

I am trying to learn Redux, but the confusion is Redux has its own implementation of creating store and creating slice i.e reducers using Redux js toolkit and React Redux using different implementation of creating store and reducers. Then what should I learn first and how?

24th Aug 2020, 7:14 PM
Sumit Sinha
Sumit Sinha - avatar
1 Answer
+ 6
Redux itself is a standalone library that can be used with any UI layer or framework, including React, Angular, Vue, Ember, and vanilla JS. Although Redux and React are commonly used together, they are independent of each other. If you are using Redux with any kind of UI framework, you will normally use a "UI binding" library to tie Redux together with your UI framework, rather than directly interacting with the store from your UI code. React Redux is the official Redux UI binding library for React. If you are using Redux and React together, you should also use React Redux to bind these two libraries. To understand why you should use React Redux, it may help to understand what a "UI binding library" does.
24th Aug 2020, 8:26 PM
BRight
BRight - avatar