What’s the Best React Native Storage Option? 🧐

Sdílet
Vložit
  • čas přidán 18. 09. 2023
  • 🔥 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_
    #############################
  • Věda a technologie

Komentáře • 50

  • @galaxies_dev
    @galaxies_dev  Před 8 měsíci

    🪐 Become a React Native Developer with Galaxies.dev!

  • @eerrff
    @eerrff Před měsícem +6

    5:30 the video begins (without expo!) CLI rules!

  • @krnhansen583
    @krnhansen583 Před 4 měsíci +11

    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 Před měsícem +1

      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.

  • @codewithdalvin
    @codewithdalvin Před 7 měsíci +1

    Great, this content was helpful! Thanks Simon.

  • @user-tz8mk6gu4w
    @user-tz8mk6gu4w Před 5 měsíci

    This is very useful information, thank you for sharing.

  • @ra-dro
    @ra-dro Před 7 měsíci

    Amazing review! It would be great to see similar comparison for other packages.

  • @irfanbabar8424
    @irfanbabar8424 Před 8 měsíci +1

    Very helpful. I have implemented non-consumable in-app purchase easily through this video. thanks.

  • @magne6049
    @magne6049 Před 6 měsíci

    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)

  • @anoyas7914
    @anoyas7914 Před 2 měsíci +1

    Thank you, very informative

  • @dominicegli-demediadesign5239

    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.

  • @vinitjain7
    @vinitjain7 Před 8 měsíci

    hey, thank you so much for your videos sir. Please make some videos on expo filesystem and deep link. cant find any on youtube.

  • @shepherd_of_art
    @shepherd_of_art Před 4 měsíci +1

    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 Před 3 měsíci

      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!

  • @raymondmichael4987
    @raymondmichael4987 Před 8 měsíci +2

    I just have to like this before watch; as I always get better 😊

  • @IdentyCloudOficial
    @IdentyCloudOficial Před 5 měsíci +1

    Hello simon, please one tutorial offline async db!.

  • @nelsonmartinez1014
    @nelsonmartinez1014 Před 15 dny

    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 ?

  • @omilkhouseo
    @omilkhouseo Před 5 měsíci

    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 Před 4 měsíci

      I'm curious why you don't want to use a nosql solution? mmkv isn't sql either?

  • @sohamdas4343
    @sohamdas4343 Před 8 měsíci

    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 Před 8 měsíci +2

      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  Před 8 měsíci

      I did a video on that topic before: czcams.com/video/q-sKCsscIsc/video.html&ab_channel=SimonGrimm

    • @sohamdas4343
      @sohamdas4343 Před 8 měsíci

      @@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 Před 2 měsíci

      @@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

  • @labrabbits
    @labrabbits Před 8 měsíci +1

    Can you do supabase offline-first approach? is it even possible?

    • @galaxies_dev
      @galaxies_dev  Před 8 měsíci +1

      Good question, will have to look into that!

  • @Jorvs
    @Jorvs Před 8 měsíci

    when will you make for ionic?

    • @galaxies_dev
      @galaxies_dev  Před 8 měsíci

      I already have similar videos for Ionic :)

  • @indonesianfamily9767
    @indonesianfamily9767 Před 8 měsíci

    I wonder how to implement multilevel comment in a list in React Native Sir😊

  • @mkyawkhantwin
    @mkyawkhantwin Před měsícem

    do people use mongoose in native?

  • @motdde
    @motdde Před 7 měsíci

    Does react native notifications now work in Expo?

  • @ifeanyinnaemego
    @ifeanyinnaemego Před 4 měsíci

    So which solutions is best for storing video file for offline viewing

    • @galaxies_dev
      @galaxies_dev  Před 4 měsíci

      Filesystem should be used to store files!

    • @ifeanyinnaemego
      @ifeanyinnaemego Před 4 měsíci

      ​@@galaxies_dev most of the contents I see talk about how to use it to do the actual downloading. But what I need is CZcams like offline download

  • @mabdurrafeyahmed9256
    @mabdurrafeyahmed9256 Před 21 dnem

    REALM!

  • @njorogebrian4379
    @njorogebrian4379 Před 8 měsíci

    How can supabase be left out here

    • @galaxies_dev
      @galaxies_dev  Před 8 měsíci

      My bad - but more RN Supabase content coming soon!

  • @augustinomageka1352
    @augustinomageka1352 Před 8 měsíci +3

    Supabase bro

  • @Cuti-CornClub-kv1lz
    @Cuti-CornClub-kv1lz Před 8 měsíci +4

    No love for supabase Simon?!

    • @galaxies_dev
      @galaxies_dev  Před 8 měsíci

      Haha love it, thought it was still considered too niche 😂