React Native State Management: Zustand + MMKV = 🔥

  Рет қаралды 18,675

Simon Grimm

Simon Grimm

10 ай бұрын

Learn to use Zustand as an easy Redux alternative for State Management in your React Native application! We'll create a React Native Shopping Cart and add persistence using MMKV for blazing-fast React Native apps with State Management in Typescript.
🔥 THE place to learn React Native: galaxies.dev/
#############################
❤️ You can also find me on:
Instagram: / simongrimm_
Twitter: / schlimmson
#############################
#reactnative #zustand #mmkv

Пікірлер: 38
@Mohannadhamdy
@Mohannadhamdy 4 ай бұрын
Very well done Simon! you have a weird way of making everything so easy! thank you for your efforts 👏
@galaxies_dev
@galaxies_dev 3 ай бұрын
My pleasure!
@ferrad1
@ferrad1 8 ай бұрын
I love it ! I just subscribed to the channel ! Thank you sir
@galaxies_dev
@galaxies_dev 7 ай бұрын
Welcome aboard!
@jonreylumayag9856
@jonreylumayag9856 9 ай бұрын
I having a problem with zustand. After the state is changed, it doesn't re-render the component. Does anyone have the experience in this issue?
@SubhranshuChoudhury
@SubhranshuChoudhury 20 күн бұрын
Thanks, it really helped :)
@AGUNGKAYA
@AGUNGKAYA 9 ай бұрын
Sir, have you made a video on how to make "Pay as you like" like the one in website of "Elementary OS"? Then go to payment section. I want to implement such thing on my website. Thank you very much
@LeonardoSilva-yj9lg
@LeonardoSilva-yj9lg 8 ай бұрын
Por que não incluir mmkv nos pacotes expo ?
@angeromeogouebi2948
@angeromeogouebi2948 6 ай бұрын
mmkv react native doesn't work on my windows 11 pc, can you help me
@mishen-thakshana
@mishen-thakshana 4 ай бұрын
Thanks for this. Will you be coming live soon?
@galaxies_dev
@galaxies_dev 4 ай бұрын
Will try!
@eltondeveloper1159
@eltondeveloper1159 4 ай бұрын
Hi Guy. Is it possble you create a todo with zustand and express REST API. In KZbin I not found this tutorial anyway. Thanks!
@galaxies_dev
@galaxies_dev 3 ай бұрын
Sure, might be a cool tutorial indeed!
@kennyfully88
@kennyfully88 9 ай бұрын
Thanks for introducing Zustand to us! I was making some business decisions for the future and unfortunately, Flutter didn't live up to its expectations for me. However I do have React Native apps shipped... But now I'm highly considering building something med size. BTW Joutai 状態 does mean state like you said, but you pronouned it wrong. Try using the American English J sound instead of the J sound from your language.
@galaxies_dev
@galaxies_dev 9 ай бұрын
Oh yeah that sounds better for Jotai :D And happy to share Zustand - it's awesome how simple yet great it works!
@michael_ibeh
@michael_ibeh 3 ай бұрын
started a new react native project, Async storage is slow so I decided to switch to react-native-mmkv, it doesn't work with expo go so I changed the project to a development build and did 'expo prebuild" like the react-native-mmkv doc said, I installed the development build version on my mobile phone and ever since then, my app wont work at all, it keeps throwing this error invariant violation: "main" has not been registered. this can happen if: * metro (the local dev server) is run from the wrong folder. check if metro is running, stop it and restart it in the current project. * a module failed to load due to an error and appregistry.registercomponent wasn't called., js engine: hermes I have done expo prebuild --clean, deleted and reinstalled my node modules, created and development build, updated my packages, started another project, they all don't seem to work, as long as react-native-mmkv is there, it doesn't work. please I need a fix for this, I've google searched everywhere, nothing.
@galaxies_dev
@galaxies_dev 3 ай бұрын
You also need to run the dev server locally after installing the app, or simply run "npx expo run:ios" to have it all in one!
@call_me_rusker
@call_me_rusker 8 ай бұрын
how did you achieve this "@/XXXX/XXX" alia path without "babel-plugin-module-resolver" package, I fllow the video, the setting doesn't work🤔
@call_me_rusker
@call_me_rusker 8 ай бұрын
never mind, I change the"./*" to "src/*", it works
@hewr_srood
@hewr_srood 4 ай бұрын
Do you prefer Zustand over Recoil?
@galaxies_dev
@galaxies_dev 4 ай бұрын
Zustand!
@emirhanpakyardm9142
@emirhanpakyardm9142 2 ай бұрын
I don't know why but MMKV doesn't support Expo Go. So I can't use it
@galaxies_dev
@galaxies_dev 2 ай бұрын
Why are you bound to Expo Go? That's limiting yourself!
@emirhanpakyardm9142
@emirhanpakyardm9142 2 ай бұрын
@@galaxies_dev i like seeing the app through my phone, also emulators tires my pc
@paulh6933
@paulh6933 9 ай бұрын
sometimes it sounds like chustand, others it sounds like zuustand, maybe spelling it phonetically would help me
@galaxies_dev
@galaxies_dev 9 ай бұрын
I guess it would be like "tsushtand" :D
@arupde6320
@arupde6320 Ай бұрын
github link ??
@ChrisPrakoso
@ChrisPrakoso 3 ай бұрын
Timecode where Simon started with Zustand: kzbin.info/www/bejne/r6GmlH-upr1mZ5Y
@tejasbhatt1820
@tejasbhatt1820 9 ай бұрын
In one video you said yo don't like react native and flutter then why now?
@kennyfully88
@kennyfully88 9 ай бұрын
I will tell you my Answer from experience. Flutter does promise a lot and does a lot out of the box. However, Flutter projects are such a pain to keep business logic together ans organized. Another problem that came to me was that Flutter, unlike React Native, doesn't have a true Zindex api. This brought me a lot of problems were I had to end up making a top layer just to overlay and do specific things. And oh my goodness.... Refactoring Flutter code on large scale is a different job in itself, which takes someone with a patience of steel. At First, I moved to Flutter because of the excellent Animation API out of the box and all the hype that was in my dev group, but I ended up finding out the painful way that Flutter isn't good enough in production unless you really do have a small app or a team of people who are extremely dedicated to fixing often sudden breaking changes that happen too often.
@galaxies_dev
@galaxies_dev 9 ай бұрын
Because I changed my opinion about things :)
@DarrylHebbes
@DarrylHebbes 6 ай бұрын
“ Weekly videos coming every week” 😂
@galaxies_dev
@galaxies_dev 6 ай бұрын
I change plans often 😂
@greendsnow
@greendsnow 16 күн бұрын
Mmkv is Chinese made... So the encryption is probably broken 😂
@user-kx9jf6ub1f
@user-kx9jf6ub1f 7 ай бұрын
If your intention is to help the others. Make them learn, then u should F***ING provide code link repo, or else there is no point. Thank you.
@galaxies_dev
@galaxies_dev 7 ай бұрын
Thanks for the feedback! I'll try to create a repo after the stream in the future. However, I don't think that simply copy and paste from a repository will help you to "learn" a topic.
@Higurashi029
@Higurashi029 7 ай бұрын
no one responsible if you learn or not. if he does provide a code repo then thank him but if he doesn't still doesn't change the fact he's doing this for free...i don't believe on copy paste if your intention really to learn.
@bugraotken
@bugraotken 4 ай бұрын
If he (tutor) is creating the whole project with you, there is no point on sharing the code with you. If you want to add a repo to your portfolio like pretending you have completed the video with him, go and complete the video with him, otherwise sit and cry man.
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 1,1 МЛН
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 149 М.
THE React Native Tech Stack for 2024 😎
13:52
Simon Grimm
Рет қаралды 35 М.
10 Must-Have React Native Components 😎
10:12
Simon Grimm
Рет қаралды 38 М.
Why I Moved from React Redux to Zustand and Why You Should Too!
19:24
What’s the Best React Native Storage Option? 🧐
12:53
Simon Grimm
Рет қаралды 29 М.
React Native Data Fetching with TanStack Query v4
1:00:04
Simon Grimm
Рет қаралды 10 М.
Build EVERY Layout with Expo Router
1:24:16
Simon Grimm
Рет қаралды 30 М.
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30