What’s the Best React Native Storage Option? 🧐

  Рет қаралды 54,671

Simon Grimm

Simon Grimm

Күн бұрын

🔥 Learn React Native FAST: galaxies.dev
What’s the best way to store data in React Native apps? Let’s talk about your storage options for both local data and remote databases!
#############################
❤️ You can also find me on:
Twitter: / schlimmson
Instagram: / simongrimm_
#############################

Пікірлер: 66
@galaxies_dev
@galaxies_dev Жыл бұрын
🪐 Become a React Native Developer with Galaxies.dev!
@shepherd_of_art
@shepherd_of_art Жыл бұрын
A very worthy mention is ElectricSQL with supabase. It's 0$ to start and infinitely scalable also. Works well with all the supabase ecosystem.
@TheVibeCurator
@TheVibeCurator 11 ай бұрын
I was very interested by this but there seems to be very little information online regarding the usage of the two. If you have anything to share about using these together, please do!
@Sadikidas
@Sadikidas 4 ай бұрын
Can we use this in expo
@dangerousangel777
@dangerousangel777 4 ай бұрын
rn I'm using "appwrite" lol
@krnhansen583
@krnhansen583 Жыл бұрын
You mention costs involved when using Realm - I think it would be fair to have also mentioned that this is only when you actually perform sync. It's a perfectly capable open-source local-first database, that developers can use, free of charge, if they don't need to sync the data between devices. (full disclosure - I work on the Realm JS team)
@poria3547
@poria3547 10 ай бұрын
I think the main problem with Realm for react native is an incomplete and inconsistent documentation and a typescript support that could be better. I admire its power but I quickly hit the wall every time I want to do something.
@iambolotie
@iambolotie 6 ай бұрын
@@poria3547 Agreed, I've found that realm docs (and Mongo docs in general) are really lacking.
@evanburbidge2030
@evanburbidge2030 5 ай бұрын
​@@poria3547I was the same and ended up moving to supabase because of it. The amount of login and auth issues it caused was madness
@hizawye
@hizawye Ай бұрын
Now syncing is deprecated?
@verawat
@verawat 7 ай бұрын
Your are my Idol of react native expo. I came from THAILAND but i love you tutorial very much.
@galaxies_dev
@galaxies_dev 7 ай бұрын
Thank you so much 😀
@tisskurr
@tisskurr 6 ай бұрын
Can you demo how to use the cloudfare R2 object storage for a react native app pls? Thanks, Simon :) Your clips are always world class!
@codewithdalvin
@codewithdalvin Жыл бұрын
Great, this content was helpful! Thanks Simon.
@galaxies_dev
@galaxies_dev Жыл бұрын
Glad you enjoyed it!
@irfanbabar8424
@irfanbabar8424 Жыл бұрын
Very helpful. I have implemented non-consumable in-app purchase easily through this video. thanks.
@galaxies_dev
@galaxies_dev Жыл бұрын
Glad it was helpful!
@anoyas7914
@anoyas7914 10 ай бұрын
Thank you, very informative
@galaxies_dev
@galaxies_dev 10 ай бұрын
You are welcome!
@ra-dro
@ra-dro Жыл бұрын
Amazing review! It would be great to see similar comparison for other packages.
@galaxies_dev
@galaxies_dev Жыл бұрын
Noted!
@TMDX-j2q
@TMDX-j2q Жыл бұрын
This is very useful information, thank you for sharing.
@omilkhouseo
@omilkhouseo Жыл бұрын
for my side project i went with sqlite and will implement my own sync at some point. watermelon seemed like too much overhead for my simple app, and i didnt want to use nosql so pouchdb and realm are out of the picture. ill use mmkv if i need local storage
@krnhansen583
@krnhansen583 Жыл бұрын
I'm curious why you don't want to use a nosql solution? mmkv isn't sql either?
@weixiangng8279
@weixiangng8279 6 ай бұрын
After you developed the app how you make the app go live? Make it accessible in google playstore or ios.
@raymondmichael4987
@raymondmichael4987 Жыл бұрын
I just have to like this before watch; as I always get better 😊
@galaxies_dev
@galaxies_dev Жыл бұрын
Thank you mate!
@IdentyCloudOficial
@IdentyCloudOficial Жыл бұрын
Hello simon, please one tutorial offline async db!.
@devByDash
@devByDash Жыл бұрын
hey, thank you so much for your videos sir. Please make some videos on expo filesystem and deep link. cant find any on youtube.
@nelsonmartinez1014
@nelsonmartinez1014 8 ай бұрын
Great information! I am using expo-sqlite, but with the new 14.0.3 update suitable for the Expo 51 sdk, I am facing an error related to read and write issues when doing an insert into a pre-populated database. Look at this: error... [Error: Call to function 'NativeStatement.finalizeAsync' has been rejected. → Caused by: Error code: attempt to write a readonly database] Do you have any idea about this mistake ?
@magne6049
@magne6049 Жыл бұрын
could you cover react-relay-offline ? it seems like the best option for offline storage plus graphql communication with the server (it can batch mutations while offline, for instance, something other clients such as URQL cannot)
@mihirpatel4729
@mihirpatel4729 3 ай бұрын
Is it possible to use AWS service to store SQL data? I am currently storing the data in localhost and I couldn’t find any video that can guide me to migrate localhost data to any AWS sql storage service. I am using react native expo. Also is it possible to implement AWS cognito for authentication for my app?
@johnnysantana4757
@johnnysantana4757 16 күн бұрын
I don't know everything about AWS, but in the end you can "at least" use EC2 to store any kind of SQL DB you want.
@eerrff
@eerrff 10 ай бұрын
5:30 the video begins (without expo!) CLI rules!
@mkyawkhantwin
@mkyawkhantwin 10 ай бұрын
do people use mongoose in native?
@labrabbits
@labrabbits Жыл бұрын
Can you do supabase offline-first approach? is it even possible?
@galaxies_dev
@galaxies_dev Жыл бұрын
Good question, will have to look into that!
@marvinfok65
@marvinfok65 2 ай бұрын
Think expo is killing off all other local databases except expo storages except those for storing small amount of data like async storage and mmkv. All other databases like Watermelondb is not working on SDK52. Watermelondb was working on SDK51 with a prebuild, but not anymore on SDK52. From SDK 52, It is Expo's way or the highway.
@ifeanyinnaemego
@ifeanyinnaemego Жыл бұрын
So which solutions is best for storing video file for offline viewing
@galaxies_dev
@galaxies_dev Жыл бұрын
Filesystem should be used to store files!
@ifeanyinnaemego
@ifeanyinnaemego Жыл бұрын
​@@galaxies_dev most of the contents I see talk about how to use it to do the actual downloading. But what I need is KZbin like offline download
@debrain1647
@debrain1647 5 ай бұрын
AsyncStorage doesn't work on iOS
@sohamdas4343
@sohamdas4343 Жыл бұрын
Just a question...why do you suggest to start with expo though? Asking because bare rn allows more manual control over the app
@Tyrone-Ward
@Tyrone-Ward Жыл бұрын
When you’re just getting started, “control” isn’t nearly as important as ease of use. Expo is unmatched for ease of use.
@galaxies_dev
@galaxies_dev Жыл бұрын
I did a video on that topic before: kzbin.info/www/bejne/p17WfHapqMh8qcU&ab_channel=SimonGrimm
@sohamdas4343
@sohamdas4343 Жыл бұрын
@@Tyrone-Ward yeah that's true. However there are issues with installing some rn/expo libraries even at the beginning. In those cases, control is necessary right? I'm just asking for opinions on this.
@CoffeeToCode11
@CoffeeToCode11 11 ай бұрын
@@sohamdas4343In deed expo can give you that control by “ejecting” the project that will create two native projects with everything in place, you will loose some features like running with the Expo Go app but gain fine control, it’s more about when and why you want that level of control, with that in mind I would start with Expo for faster prototyping and eject if I need very specific native capabilities, the only reason I would start with React Native is, if I need to consume legacy libraries or specific ones like Firebase
@indonesianfamily9767
@indonesianfamily9767 Жыл бұрын
I wonder how to implement multilevel comment in a list in React Native Sir😊
@galaxies_dev
@galaxies_dev Жыл бұрын
Hmm probably some sort of tree component?
@indonesianfamily9767
@indonesianfamily9767 Жыл бұрын
@@galaxies_dev the comment that can be commented by others
@Jorvs
@Jorvs Жыл бұрын
when will you make for ionic?
@galaxies_dev
@galaxies_dev Жыл бұрын
I already have similar videos for Ionic :)
@motdde
@motdde Жыл бұрын
Does react native notifications now work in Expo?
@galaxies_dev
@galaxies_dev Жыл бұрын
Sure!
@経験KeiKen
@経験KeiKen Жыл бұрын
How can supabase be left out here
@galaxies_dev
@galaxies_dev Жыл бұрын
My bad - but more RN Supabase content coming soon!
@mabdurrafeyahmed9256
@mabdurrafeyahmed9256 9 ай бұрын
REALM!
@FelipeValenzuela
@FelipeValenzuela 3 ай бұрын
Bye realm 😢
@Cuti-CornClub-kv1lz
@Cuti-CornClub-kv1lz Жыл бұрын
No love for supabase Simon?!
@galaxies_dev
@galaxies_dev Жыл бұрын
Haha love it, thought it was still considered too niche 😂
@tinnohofficial
@tinnohofficial Жыл бұрын
Supabase bro
@galaxies_dev
@galaxies_dev Жыл бұрын
💯
React Native Expo: Offline Data Storage with SQLite
24:24
Aaron Saunders
Рет қаралды 1,6 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
This is why understanding database concurrency control is important
9:05
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 651 М.
Legend State v3: Local first sync AND fastest React State manager!
16:10
How to build local-first #Expo Apps
16:51
Supabase
Рет қаралды 12 М.
No-Nonsense Backend Engineering Roadmap
10:16
Codebagel
Рет қаралды 268 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 269 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 200 М.
Top 9 React Native UI Component Libraries in 2023
10:12
Simon Grimm
Рет қаралды 102 М.
This is how I scrape 99% websites via LLM
22:44
AI Jason
Рет қаралды 241 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.