DEV Community

Cover image for 💪 React + MobX Crash Course (in 5 pics!)

💪 React + MobX Crash Course (in 5 pics!)

hexrcs on December 03, 2019

Originally posted on Twitter as a thread: https://twitter.com/hexrcs/status/1201593792417144833 State management in React apps can be a hard thing...
Collapse
 
fly profile image
joon • • Edited

Wasn't really bothered to study MobX because I'm so accustomed to Redux, will definitely read again when I get the chance to :) I can tell that you tried very hard to make it as easy to read as possible. Great work, and thank you for the post!

Collapse
 
fantasticsoul profile image
幻魂 •

Hi, if love redux, I strongly recommend you have a try with concent) , which is born for build large scale and high performance react app.

here is online demos:
js ver: codesandbox.io/s/concent-guide-xvcej
ts ver: codesandbox.io/s/concent-guide-ts-...
function component and class component share business logic code easily, including their life-cycle methods.

Collapse
 
hexrcs profile image
hexrcs The Method Coder •

Thank you for the kind words :) Really glad you've found it useful!

Collapse
 
fantasticsoul profile image
幻魂 •

Hi, I recommend you have a try with concent) , which is born for build large scale and high performance react app.

here is online demos:
js ver: codesandbox.io/s/concent-guide-xvcej
ts ver: codesandbox.io/s/concent-guide-ts-...
function component and class component share business logic code easily, including their life-cycle methods.

Collapse
 
hexrcs profile image
hexrcs The Method Coder • • Edited

Hey, looks like a cool project!

One thought: I'm sure it can gain a lot more traction if the docs have an English version. (Maybe create an Issue on GitHub for this and label it "good first issue" or something?)

In fact I just came across this post on how to promote OSS Projects, check it out! => dev.to/zenika/open-source-promotio...

Collapse
 
fantasticsoul profile image
幻魂 •

thx for your reply, en doc is preparing(my en is not good, so it may be ready in next year)......
Concent is quite new and I only just posted a article a couple of days before to introduce Concent.

I believe I can benefit from 【Open source promotion】,thx a lot .

Thread Thread
 
hexrcs profile image
hexrcs The Method Coder •

Try opening an issue for the translation work, I'm sure there are people willing to help!

Thread Thread
 
fantasticsoul profile image
幻魂 •

thank you for your suggestion, I have opened an issue: github.com/concentjs/concent/issues/4, hope some can help me.

Collapse
 
aprindev profile image
AprinDev •

thank you , its greate, but you know ? i think redux is better ....

Collapse
 
hexrcs profile image
hexrcs The Method Coder •

Everyone has their own opinion 😉

I'm making a new crash course on MobX State Tree, which is a bit like Redux but with all the benefits of MobX, a healthy mix of both worlds. You might find it interesting if you check back in two weeks! 😃

Collapse
 
deadcoder0904 profile image
Akshay Kadam (A2K) •

Did u come around making MST?

I’m confused about which one to choose now. I have 3 main contenders - MobX, MST & Overmind :)