The official account of MobX-State-Tree, the best JavaScript state management system! Account operated by @jamonholmgren and @coolsoftwaredev, core MST team

Joined June 2023
MobX-State-Tree Official retweeted
📰 RNN 185 📰 Don't miss the latest issue of the #ReactNative Newsletter! ✅ Major announcements from Expo ✅ Accessibility & props for screenreaders in React Native ✅ The latest on React 19 ✅ AND SO MUCH MORE! Read now! mailchi.mp/infinite.red/reac…
2
9
2
21
3,497
MobX-State-Tree Official retweeted
Posted this elsewhere, but folks here might be interested to know that we have a path forward to make @MSTjavascript compatible with the React Compiler!
1
2
11
862
MobX-State-Tree Official retweeted
If you are looking to break into open source via React skills, I have a curated opportunity for you with a ton of leverage. Come help out on the MobX DevTools browser extension. Tons of users, needs maintainers, and I have gotten my bearings well enough to guide a few others.
1
5
23
1,312
MobX-State-Tree Official retweeted
Our very own @JPoliachik breaks down his favorite updates and features in the new IGNITE X! He covers new things like: ✅ Expo CNG ✅ Dark Mode ✅ Expo Router Support ✅ And so much more Don't miss it 👇
Ignite X just dropped! 🔥🔥 I go over my favorite new features (and why!) in only ~5 minutes. Hope you enjoy 😁
7
14
2,619
MobX-State-Tree Official retweeted
Just a quick reminder that we have opened up a few issues for Hacktoberfest over in @MSTjavascript. If you need help getting started or want us to consider a few other items for the program, drop me a line!
Get involved in Hacktoberfest 2024! Contribute to open-source, learn new skills, and boost your developer portfolio. Time to make a difference! 🚀 { author: @AdiatiAyu } #DEVCommunity dev.to/virtualcoffee/hacktob…
3
6
580
MobX-State-Tree Official retweeted
Tomorrow at 1PM CT I'll be chatting with @coolsoftwaredev about MobX-State-Tree! Gonna be a fun conversation about digging into state management, and we might dig into some live coding in React or Vue (or maybe both?). Can't wait for this one! twitch.tv/shookcodes
2
4
3
28
2,292
MobX-State-Tree Official retweeted
Shoutout to @coolsoftwaredev, @blackgirlbytes, and @JoshuaKGoldberg for being guests on our first Pitch Your Project segment. If you missed it, you can catch the recording below.
5
2
16
3,673
MobX-State-Tree Official retweeted
6
4
3
12
5,736
MobX-State-Tree Official retweeted
We just got started! Come join us.
4
5
753
MobX-State-Tree Official retweeted
Great intro to MobX-State-Tree by @jamonholmgren - MST is sometimes overlooked a little bit in comparison to more vocal state management solutions, Jamon is working to change that.
My newest YouTube video is up -- "Intro to MobX-State-Tree"! This is typical of my videos, where I get straight into code. Hopefully by the end of it you'll see why I love MST -- and can decide for yourself if it's interesting enough to try out on your next project.
2
4
9
1,739
MobX-State-Tree Official retweeted
Put together a fun little demo for @MSTjavascript - comparing the "Scaling Up with Reducer and Context" code from React Docs with how you might model it in MST. I'll turn this into MST docs/blog/video sometime in the next few weeks. Links in the thread!
1
1
4
294
MobX-State-Tree Official retweeted
If you're new to open source, TypeScript, state management, or just generally interested in MobX-State-Tree, here's a really approachable issue I'd love to get resolved. Could be fixed with some configuration changes, or renaming and refactoring. github.com/mobxjs/mobx-state…
2
6
912
MobX-State-Tree Official retweeted
My take on the current state (heh) of state management in React Native, as published in the State of React Native survey: Redux’s hold on the state management scene within React Native has been slowly slipping for years. The emergence of Redux Toolkit has given new life to the project, and it’s impressive to see its usage at 62% already. Meanwhile, Zustand is a strong alternative given its familiar patterns and tiny footprint. Observable-based state management libraries such as Jotai and MobX continue to have a smaller but passionate corner of the community. There seems to be a fairly clear divide between those libraries and the selector-based libraries. React Query is very popular, and its active development and ability to work with other state management libraries gives it an edge in usage — you don’t have to choose between it and your favorite state system. You can use them both alongside each other. For state orchestration, XState has one of the largest gaps between interest (high) and usage (low). I attribute this to its initial learning curve and (necessarily) verbose syntax, as well as departure from the familiar patterns built up over the years. However, it sparks a ton of interest still due to the significant benefits it brings due to predictable and comprehensive state transitions. Apollo remains widely used, but has been slipping slowly as new alternatives pop up. It is still the strongest GraphQL-centered state system. React Query is the most common alternative to Apollo since it is easier to adopt without switching out state systems. My own MobX-State-Tree continues to be fairly niche with just 13% usage. It will be interesting to see if our investment in documentation and streamlining performance will have an impact over the next year.
7
4
1
92
15,161
MobX-State-Tree Official retweeted
If you're part of this rectangle... hello! We are very friendly over at @MSTjavascript and would love to help you learn. My DMs are open, and my email address is not hard to find (or guess) if you ever have any questions about MobX-State-Tree.
3
5
1
21
2,849
MobX-State-Tree Official retweeted
I've been asked when you should use MobX-State-Tree and when you should use just MobX. Here are my thoughts: • MST is opinionated and essentially makes it harder to make poor decisions when organizing/structuring your state • MST comes with a lot of really useful tools you often need such as side effect handling, lifecycle hooks (like `afterCreate`), etc. • MobX is more flexible and gives you more freedom in how you structure things, but it's easier to shoot yourself in the foot • When you use MobX, you often end up reinventing the tools that MST provides • MobX is a lot lighter Generally, I'd recommend using MST unless you have a specific reason to just use MobX by itself.
3
3
18
4,667
MobX-State-Tree Official retweeted
Built a small hobby app with @expo and @MSTjavascript . It was my first experience with @MSTjavascript , and I was pleasantly surprised. github.com/jonstuebe/grow-lo…
1
1
6
709
MobX-State-Tree Official retweeted
We have so many really good ideas in the open issues tracker at @MSTjavascript. I'm trying to balance between closing stale issues, and leaving good ideas open for volunteers to implement. Here are 50 great ways to get into open source and be my hero: github.com/mobxjs/mobx-state…
2
5
968
MobX-State-Tree Official retweeted
It's a very long time ago when I wrote MST-GQL (MobX-state-tree + strongly typed graphQL integration / queries / mutations / code generation). Cool to see there are some happy users actively working with it! betterprogramming.pub/two-ye… cc @MSTjavascript
1
2
18
2,749