What’s the Best React Native Storage Option? 🧐

2023 ж. 18 Қыр.
28 719 Рет қаралды

🔥 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_
#############################

Пікірлер
  • 🪐 Become a React Native Developer with Galaxies.dev!

    @galaxies_dev@galaxies_dev8 ай бұрын
  • 5:30 the video begins (without expo!) CLI rules!

    @eerrff@eerrffАй бұрын
  • 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)

    @krnhansen583@krnhansen5834 ай бұрын
    • 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.

      @poria3547@poria3547Ай бұрын
  • Great, this content was helpful! Thanks Simon.

    @codewithdalvin@codewithdalvin7 ай бұрын
    • Glad you enjoyed it!

      @galaxies_dev@galaxies_dev6 ай бұрын
  • This is very useful information, thank you for sharing.

    @user-tz8mk6gu4w@user-tz8mk6gu4w5 ай бұрын
  • Very helpful. I have implemented non-consumable in-app purchase easily through this video. thanks.

    @irfanbabar8424@irfanbabar84248 ай бұрын
    • Glad it was helpful!

      @galaxies_dev@galaxies_dev7 ай бұрын
  • Hey Simon, what do you recommened for a gamification app, where the user collect points? And level-up? Would also be a good idea for a video :) thank you for your content.

    @dominicegli-demediadesign5239@dominicegli-demediadesign5239Күн бұрын
  • Amazing review! It would be great to see similar comparison for other packages.

    @ra-dro@ra-dro7 ай бұрын
    • Noted!

      @galaxies_dev@galaxies_dev7 ай бұрын
  • Thank you, very informative

    @anoyas7914@anoyas79142 ай бұрын
    • You are welcome!

      @galaxies_dev@galaxies_dev2 ай бұрын
  • 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)

    @magne6049@magne60495 ай бұрын
  • hey, thank you so much for your videos sir. Please make some videos on expo filesystem and deep link. cant find any on youtube.

    @vinitjain7@vinitjain77 ай бұрын
  • I just have to like this before watch; as I always get better 😊

    @raymondmichael4987@raymondmichael49878 ай бұрын
    • Thank you mate!

      @galaxies_dev@galaxies_dev8 ай бұрын
  • 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 ?

    @nelsonmartinez1014@nelsonmartinez10146 күн бұрын
  • A very worthy mention is ElectricSQL with supabase. It's 0$ to start and infinitely scalable also. Works well with all the supabase ecosystem.

    @shepherd_of_art@shepherd_of_art3 ай бұрын
    • 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!

      @TheVibeCurator@TheVibeCurator3 ай бұрын
  • Hello simon, please one tutorial offline async db!.

    @IdentyCloudOficial@IdentyCloudOficial5 ай бұрын
  • 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

    @omilkhouseo@omilkhouseo5 ай бұрын
    • I'm curious why you don't want to use a nosql solution? mmkv isn't sql either?

      @krnhansen583@krnhansen5834 ай бұрын
  • Just a question...why do you suggest to start with expo though? Asking because bare rn allows more manual control over the app

    @sohamdas4343@sohamdas43438 ай бұрын
    • When you’re just getting started, “control” isn’t nearly as important as ease of use. Expo is unmatched for ease of use.

      @Tyrone-Ward@Tyrone-Ward8 ай бұрын
    • I did a video on that topic before: kzhead.info/sun/pJGse6erqpV_pps/bejne.html&ab_channel=SimonGrimm

      @galaxies_dev@galaxies_dev8 ай бұрын
    • @@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.

      @sohamdas4343@sohamdas43438 ай бұрын
    • @@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

      @CoffeeToCode11@CoffeeToCode112 ай бұрын
  • do people use mongoose in native?

    @mkyawkhantwin@mkyawkhantwinАй бұрын
  • Can you do supabase offline-first approach? is it even possible?

    @labrabbits@labrabbits8 ай бұрын
    • Good question, will have to look into that!

      @galaxies_dev@galaxies_dev8 ай бұрын
  • when will you make for ionic?

    @Jorvs@Jorvs8 ай бұрын
    • I already have similar videos for Ionic :)

      @galaxies_dev@galaxies_dev8 ай бұрын
  • Does react native notifications now work in Expo?

    @motdde@motdde7 ай бұрын
    • Sure!

      @galaxies_dev@galaxies_dev7 ай бұрын
  • So which solutions is best for storing video file for offline viewing

    @ifeanyinnaemego@ifeanyinnaemego3 ай бұрын
    • Filesystem should be used to store files!

      @galaxies_dev@galaxies_dev3 ай бұрын
    • ​@@galaxies_dev most of the contents I see talk about how to use it to do the actual downloading. But what I need is KZhead like offline download

      @ifeanyinnaemego@ifeanyinnaemego3 ай бұрын
  • REALM!

    @mabdurrafeyahmed9256@mabdurrafeyahmed925613 күн бұрын
  • I wonder how to implement multilevel comment in a list in React Native Sir😊

    @indonesianfamily9767@indonesianfamily97678 ай бұрын
    • Hmm probably some sort of tree component?

      @galaxies_dev@galaxies_dev8 ай бұрын
    • @@galaxies_dev the comment that can be commented by others

      @indonesianfamily9767@indonesianfamily97678 ай бұрын
  • How can supabase be left out here

    @njorogebrian4379@njorogebrian43798 ай бұрын
    • My bad - but more RN Supabase content coming soon!

      @galaxies_dev@galaxies_dev8 ай бұрын
  • Supabase bro

    @augustinomageka1352@augustinomageka13528 ай бұрын
    • 💯

      @galaxies_dev@galaxies_dev8 ай бұрын
  • No love for supabase Simon?!

    @Cuti-CornClub-kv1lz@Cuti-CornClub-kv1lz8 ай бұрын
    • Haha love it, thought it was still considered too niche 😂

      @galaxies_dev@galaxies_dev8 ай бұрын
KZhead