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.
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.
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
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.
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
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.
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.
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.
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.
@@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 😄
Very well done Simon! you have a weird way of making everything so easy! thank you for your efforts 👏
My pleasure!
I love it ! I just subscribed to the channel ! Thank you sir
Welcome aboard!
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.
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.
Thank you!
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
Expo Go is just a g environment, it shouldn't be a reason to ignore great libraries like Zustand!
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
i don't understand why you use mmkv in zustand just for manage the cart storage, but not for the rest..
mmkv react native doesn't work on my windows 11 pc,
can you help me
Hi Guy. Is it possble you create a todo with zustand and express REST API. In UA-cam I not found this tutorial anyway. Thanks!
Sure, might be a cool tutorial indeed!
Thanks for this. Will you be coming live soon?
Will try!
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.
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!
Por que não incluir mmkv nos pacotes expo ?
Thanks, it really helped :)
Do you prefer Zustand over Recoil?
Zustand!
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?
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
how did you achieve this "@/XXXX/XXX" alia path without "babel-plugin-module-resolver" package, I fllow the video, the setting doesn't work🤔
never mind, I change the"./*" to "src/*", it works
i love ur weird lul style of making things work my sub to u
haha thank you :D
I don't know why but MMKV doesn't support Expo Go. So I can't use it
Why are you bound to Expo Go? That's limiting yourself!
@@galaxies_dev i like seeing the app through my phone, also emulators tires my pc
Timecode where Simon started with Zustand: ua-cam.com/video/ypCcLxqX314/v-deo.html
“ Weekly videos coming every week” 😂
I change plans often 😂
github link ??
sometimes it sounds like chustand, others it sounds like zuustand, maybe spelling it phonetically would help me
I guess it would be like "tsushtand" :D
In one video you said yo don't like react native and flutter then why now?
Because I changed my opinion about things :)
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.
Why not just debug with console.log(). Lmao
Mmkv is Chinese made... So the encryption is probably broken 😂
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.
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.
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.
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.
@@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 😄