What’s the Best React Native Storage Option? 🧐

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024
  • 🔥 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_
    #############################

Комментарии • 65

  • @galaxies_dev
    @galaxies_dev  Год назад

    🪐 Become a React Native Developer with Galaxies.dev!

  • @krnhansen583
    @krnhansen583 11 месяцев назад +15

    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 8 месяцев назад +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.

    • @iambolotie
      @iambolotie 5 месяцев назад

      @@poria3547 Agreed, I've found that realm docs (and Mongo docs in general) are really lacking.

    • @evanburbidge2030
      @evanburbidge2030 4 месяца назад

      ​@@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 19 дней назад

      Now syncing is deprecated?

  • @shepherd_of_art
    @shepherd_of_art 11 месяцев назад +6

    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 10 месяцев назад

      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 3 месяца назад

      Can we use this in expo

    • @dangerousangel777
      @dangerousangel777 2 месяца назад

      rn I'm using "appwrite" lol

  • @omilkhouseo
    @omilkhouseo Год назад +2

    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 11 месяцев назад

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

  • @weixiangng8279
    @weixiangng8279 5 месяцев назад +1

    After you developed the app how you make the app go live? Make it accessible in google playstore or ios.

  • @verawat
    @verawat 5 месяцев назад +1

    Your are my Idol of react native expo.
    I came from THAILAND but i love you tutorial very much.

  • @mihirpatel4729
    @mihirpatel4729 2 месяца назад +1

    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?

  • @tisskurr
    @tisskurr 5 месяцев назад +1

    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!

  • @eerrff
    @eerrff 9 месяцев назад +13

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

  • @nelsonmartinez1014
    @nelsonmartinez1014 7 месяцев назад +1

    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 ?

  • @irfanbabar8424
    @irfanbabar8424 Год назад +1

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

  • @IdentyCloudOficial
    @IdentyCloudOficial Год назад +1

    Hello simon, please one tutorial offline async db!.

  • @codewithdalvin
    @codewithdalvin Год назад +1

    Great, this content was helpful! Thanks Simon.

  • @anoyas7914
    @anoyas7914 9 месяцев назад +1

    Thank you, very informative

  • @ExpoDev_Dash
    @ExpoDev_Dash Год назад +1

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

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

  • @mkyawkhantwin
    @mkyawkhantwin 8 месяцев назад +1

    do people use mongoose in native?

  • @TMDX-j2q
    @TMDX-j2q Год назад

    This is very useful information, thank you for sharing.

  • @ra-dro
    @ra-dro Год назад

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

  • @marvinfok65
    @marvinfok65 26 дней назад

    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.

  • @labrabbits
    @labrabbits Год назад +1

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

    • @galaxies_dev
      @galaxies_dev  Год назад +1

      Good question, will have to look into that!

  • @raymondmichael4987
    @raymondmichael4987 Год назад +2

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

  • @ifeanyinnaemego
    @ifeanyinnaemego 11 месяцев назад

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

    • @galaxies_dev
      @galaxies_dev  11 месяцев назад

      Filesystem should be used to store files!

    • @ifeanyinnaemego
      @ifeanyinnaemego 11 месяцев назад

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

  • @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 Год назад +4

      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: ruclips.net/video/q-sKCsscIsc/видео.html&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 10 месяцев назад

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

  • @Jorvs
    @Jorvs Год назад

    when will you make for ionic?

    • @galaxies_dev
      @galaxies_dev  Год назад

      I already have similar videos for Ionic :)

  • @debrain1647
    @debrain1647 4 месяца назад

    AsyncStorage doesn't work on iOS

  • @motdde
    @motdde Год назад

    Does react native notifications now work in Expo?

  • @indonesianfamily9767
    @indonesianfamily9767 Год назад

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

  • @経験KeiKen
    @経験KeiKen Год назад

    How can supabase be left out here

    • @galaxies_dev
      @galaxies_dev  Год назад

      My bad - but more RN Supabase content coming soon!

  • @mabdurrafeyahmed9256
    @mabdurrafeyahmed9256 7 месяцев назад

    REALM!

  • @Cuti-CornClub-kv1lz
    @Cuti-CornClub-kv1lz Год назад +5

    No love for supabase Simon?!

    • @galaxies_dev
      @galaxies_dev  Год назад

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

  • @tinnohofficial
    @tinnohofficial Год назад +3

    Supabase bro