React Native State Management: Zustand + MMKV = 🔥

  Рет қаралды 25,827

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 47
@Mohannadhamdy
@Mohannadhamdy 9 ай бұрын
Very well done Simon! you have a weird way of making everything so easy! thank you for your efforts 👏
@galaxies_dev
@galaxies_dev 9 ай бұрын
My pleasure!
@Adamskyization
@Adamskyization Ай бұрын
Hey Simon, instead of restarting vs-code. you can do cmd + shit -> reload -> choose "reload window". it is faster and does the same thing as a restart, and nothing get's lost not even the terminal session.
@galaxies_dev
@galaxies_dev 29 күн бұрын
Thank you!
@Adamskyization
@Adamskyization Ай бұрын
It's a mistake to distruct with Zustand useStore hook, `const { bla foo } = useStore()`. It will make you component render every time anything in the store changes, instead only the ones you actually use for the component.
@ferrad1
@ferrad1 Жыл бұрын
I love it ! I just subscribed to the channel ! Thank you sir
@galaxies_dev
@galaxies_dev Жыл бұрын
Welcome aboard!
@shrinidhihegde1713
@shrinidhihegde1713 4 ай бұрын
bro add time stamp like in which time what u did like that because i am here to watch how to implement mmkv in expo app i need to search for in what time you implemented it actually.... it is lot of time consuming
@DarkMefisto1991
@DarkMefisto1991 22 күн бұрын
i don't understand why you use mmkv in zustand just for manage the cart storage, but not for the rest..
@ChrisPrakoso
@ChrisPrakoso 8 ай бұрын
Timecode where Simon started with Zustand: kzbin.info/www/bejne/r6GmlH-upr1mZ5Y
@angeromeogouebi2948
@angeromeogouebi2948 Жыл бұрын
mmkv react native doesn't work on my windows 11 pc, can you help me
@mishen-thakshana
@mishen-thakshana 10 ай бұрын
Thanks for this. Will you be coming live soon?
@galaxies_dev
@galaxies_dev 10 ай бұрын
Will try!
@fosbergaddai4996
@fosbergaddai4996 Ай бұрын
I am trying this in 2024 but MMKV does not still seem to work with Expo Go so I am using Zustand + Async Storage, which does not seem quite cool
@galaxies_dev
@galaxies_dev Ай бұрын
Expo Go is just a g environment, it shouldn't be a reason to ignore great libraries like Zustand!
@hewr_srood
@hewr_srood 10 ай бұрын
Do you prefer Zustand over Recoil?
@galaxies_dev
@galaxies_dev 10 ай бұрын
Zustand!
@SubhranshuChoudhury
@SubhranshuChoudhury 6 ай бұрын
Thanks, it really helped :)
@eltondeveloper1159
@eltondeveloper1159 9 ай бұрын
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 9 ай бұрын
Sure, might be a cool tutorial indeed!
@michael_ibeh
@michael_ibeh 8 ай бұрын
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 8 ай бұрын
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!
@AGUNGKAYA
@AGUNGKAYA Жыл бұрын
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 Жыл бұрын
Por que não incluir mmkv nos pacotes expo ?
@jonreylumayag9856
@jonreylumayag9856 Жыл бұрын
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?
@_crista
@_crista Ай бұрын
i love ur weird lul style of making things work my sub to u
@galaxies_dev
@galaxies_dev 29 күн бұрын
haha thank you :D
@DarrylHebbes
@DarrylHebbes Жыл бұрын
“ Weekly videos coming every week” 😂
@galaxies_dev
@galaxies_dev Жыл бұрын
I change plans often 😂
@call_me_rusker
@call_me_rusker Жыл бұрын
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 Жыл бұрын
never mind, I change the"./*" to "src/*", it works
@paulh6933
@paulh6933 Жыл бұрын
sometimes it sounds like chustand, others it sounds like zuustand, maybe spelling it phonetically would help me
@galaxies_dev
@galaxies_dev Жыл бұрын
I guess it would be like "tsushtand" :D
@emirhanpakyardm9142
@emirhanpakyardm9142 8 ай бұрын
I don't know why but MMKV doesn't support Expo Go. So I can't use it
@galaxies_dev
@galaxies_dev 8 ай бұрын
Why are you bound to Expo Go? That's limiting yourself!
@emirhanpakyardm9142
@emirhanpakyardm9142 8 ай бұрын
@@galaxies_dev i like seeing the app through my phone, also emulators tires my pc
@arupde6320
@arupde6320 6 ай бұрын
github link ??
@waynedunkley
@waynedunkley Ай бұрын
Spoiler alert: 6 minutes towards the end, he gives up trying to set up debugging. Without debugging, Zustand is useless with React Native. A heads up, I've spent an entire day trying to get debugging working with Expo and Zustand and have failed.
@fata__morgana
@fata__morgana Ай бұрын
Why not just debug with console.log(). Lmao
@tejasbhatt1820
@tejasbhatt1820 Жыл бұрын
In one video you said yo don't like react native and flutter then why now?
@galaxies_dev
@galaxies_dev Жыл бұрын
Because I changed my opinion about things :)
@greendsnow
@greendsnow 6 ай бұрын
Mmkv is Chinese made... So the encryption is probably broken 😂
@mythologypedia-z8q
@mythologypedia-z8q Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 9 ай бұрын
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.
@readywhen
@readywhen 4 ай бұрын
@@bugraotken Meh I disagree, I've moved away from watching tutorials and jump right into the source code. Skim through, look for the few things I actually need for example, grab the docs alongside the code base to get to understand things fast, then start to replicate if it's what I need. But maybe this approach works because I'm now finally not so much of a beginner anymore 😄
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 199 М.
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 27 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 70 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 1,1 МЛН
THE React Native Tech Stack for 2024 😎
13:52
Simon Grimm
Рет қаралды 49 М.
🔴 Let's build SIGNAL with REACT NATIVE! (Navigation, Expo & Firebase)
3:36:56
0x041 🐶 Full screen "Thank you" notification in SwiftUI
2:05:44
Aleksei Zabrodskii
Рет қаралды 63
React Native vs Flutter - Which should you use?
22:31
Simon Grimm
Рет қаралды 46 М.
Building a Health Application with React Native: Step Counter
3:57:53
notJust․dev
Рет қаралды 441 М.
This Makes State Management so Much Easier
4:01
Josh tried coding
Рет қаралды 101 М.
What’s the Best React Native Storage Option? 🧐
12:53
Simon Grimm
Рет қаралды 47 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 63 М.
Mastering React Context: Do you NEED a state manager?
37:26
Jack Herrington
Рет қаралды 100 М.
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 27 МЛН