loading...

MobX vs Redux comparison

github logo ・1 min read

Not many people know that MobX and Redux started around the same time, provide state management for your library, but achieve it in different ways.

I try to compare the two libraries and how they work, as well as their advantages and disadvantages.

  • What MobX is
  • What Redux is
  • How they compare
  • Where you might use them
  • What you should learn depending on your situation

twitter logo DISCUSS (5)
markdown guide
 

Thanks for the video. It clarified the differences for me. I use Apollo Client with a built-in state manager. For small projects – useReducer state.

But I'm curious about observables and reactive programming, so that's why I'm here. Do people usually use RxJS with MobX?

 

I'm not sure, but what I've understand from MobX docs is that you don't use RxJS with MobX, because MobX is already reactive - you don't need RxJS additionally.

 

Hey Adrian. Nice comparison! Although I think your video is just begging for live coding examples. Those concepts are not always easy to understand and having code next to your commentary would be amazing!

 

Awesome video!!! I would love to see you take a look at overmindjs.
I have used it on many projects in pure js, typescript, react, react native and it has handled so well.

overmindjs.org/

 
Classic DEV Post from Oct 30 '19

The Divergence of Open Source Maintainer From Software Engineer

Adrian Twarog profile image
My goal is to make useful and helpful advice and content that will help others! New content everyday, please leave feedback if there is something you want to see!

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❀️