Skip to content

Commit 481f087

Browse files
committed
Add comparision of Redux and MobX
1 parent 13db724 commit 481f087

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5187,6 +5187,17 @@
51875187
npm install mobx-react --save
51885188
```
51895189
317. ### What are the differences between Redux and MobX?
5190+
Below are the main differences between Redux and MobX,
5191+
5192+
| Topic | Redux | MobX |
5193+
| ----- | ------- |
5194+
| Definition| It is a javascript library for managing the application state | It is a library for reactively managing the state of your applications |
5195+
| Programming | It is mainly written in ES6 | It is written in JavaScript(ES5) |
5196+
| Data Store | There is only one large store exist for data storage | There is more than one store for storage |
5197+
| Usage | Mainly used for large and complex applications | Used for simple applications |
5198+
| Performance | Need to be improved | Provides better performance |
5199+
| How it stores | Uses JS Object to store | Uses observable to store the data |
5200+
51905201
318. ### Should I learn ES6 before learning ReactJS?
51915202
No, you don’t have to learn es2015/es6 to learn react. But you may find many resources or React ecosystem uses ES6 extensively. Let's see some of the frequently used ES6 features,
51925203
1. Destructuring: To get props and use them in a component

0 commit comments

Comments
 (0)