Redux => MobX migration case study. #3479
jtwigg
started this conversation in
Show and tell
Replies: 2 comments
-
I really wish to see what you have done, if it is possible for you to share some gist of your code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much for the write up! 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just finished migrating from a Redux store to a Mobx store and thought I'd post some of my results here.
The chief reason I started the migration was
A) Redux boiler plate was out of control: Adding a simple "set boolean" to my state would require modifying multiple files and creating multiple declarations (Action ID's and
action
functions, reducers, etc)B) React re-draws were out of control: Despite reading all the docs, I could never get redux re-draw's under control.
In total, the delta in code was
So roughly 1:2 for MobX:Redux
However: This doesn't capture the other benefits
So thank you all for helping me get my app state under control!
Beta Was this translation helpful? Give feedback.
All reactions