What’s the Best React Native Storage Option? 🧐

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 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_
    #############################
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 55

  • @galaxies_dev
    @galaxies_dev  10 หลายเดือนก่อน

    🪐 Become a React Native Developer with Galaxies.dev!

  • @eerrff
    @eerrff 3 หลายเดือนก่อน +10

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

  • @user-tz8mk6gu4w
    @user-tz8mk6gu4w 7 หลายเดือนก่อน

    This is very useful information, thank you for sharing.

  • @krnhansen583
    @krnhansen583 6 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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 10 วันที่ผ่านมา

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

  • @codewithdalvin
    @codewithdalvin 9 หลายเดือนก่อน +1

    Great, this content was helpful! Thanks Simon.

    • @galaxies_dev
      @galaxies_dev  9 หลายเดือนก่อน +1

      Glad you enjoyed it!

  • @irfanbabar8424
    @irfanbabar8424 10 หลายเดือนก่อน +1

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

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      Glad it was helpful!

  • @tisskurr
    @tisskurr 7 วันที่ผ่านมา

    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!

  • @ra-dro
    @ra-dro 9 หลายเดือนก่อน

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

  • @vinitjain7
    @vinitjain7 10 หลายเดือนก่อน

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

  • @verawat
    @verawat 24 วันที่ผ่านมา +1

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

    • @galaxies_dev
      @galaxies_dev  21 วันที่ผ่านมา

      Thank you so much 😀

  • @magne6049
    @magne6049 8 หลายเดือนก่อน

    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)

  • @domi0-o2o
    @domi0-o2o 2 หลายเดือนก่อน

    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.

  • @anoyas7914
    @anoyas7914 4 หลายเดือนก่อน +1

    Thank you, very informative

    • @galaxies_dev
      @galaxies_dev  4 หลายเดือนก่อน

      You are welcome!

  • @IdentyCloudOficial
    @IdentyCloudOficial 7 หลายเดือนก่อน +1

    Hello simon, please one tutorial offline async db!.

  • @weixiangng8279
    @weixiangng8279 8 วันที่ผ่านมา

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

  • @nelsonmartinez1014
    @nelsonmartinez1014 2 หลายเดือนก่อน

    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 ?

  • @raymondmichael4987
    @raymondmichael4987 10 หลายเดือนก่อน +2

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

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      Thank you mate!

  • @shepherd_of_art
    @shepherd_of_art 6 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      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!

  • @omilkhouseo
    @omilkhouseo 7 หลายเดือนก่อน

    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 6 หลายเดือนก่อน

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

  • @mkyawkhantwin
    @mkyawkhantwin 3 หลายเดือนก่อน +1

    do people use mongoose in native?

  • @labrabbits
    @labrabbits 10 หลายเดือนก่อน +1

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

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน +1

      Good question, will have to look into that!

  • @Jorvs
    @Jorvs 10 หลายเดือนก่อน

    when will you make for ionic?

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      I already have similar videos for Ionic :)

  • @sohamdas4343
    @sohamdas4343 10 หลายเดือนก่อน

    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 10 หลายเดือนก่อน +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  10 หลายเดือนก่อน

      I did a video on that topic before: th-cam.com/video/q-sKCsscIsc/w-d-xo.html&ab_channel=SimonGrimm

    • @sohamdas4343
      @sohamdas4343 10 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

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

  • @motdde
    @motdde 9 หลายเดือนก่อน

    Does react native notifications now work in Expo?

  • @indonesianfamily9767
    @indonesianfamily9767 10 หลายเดือนก่อน

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

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      Hmm probably some sort of tree component?

    • @indonesianfamily9767
      @indonesianfamily9767 10 หลายเดือนก่อน

      @@galaxies_dev the comment that can be commented by others

  • @ifeanyinnaemego
    @ifeanyinnaemego 6 หลายเดือนก่อน

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

    • @galaxies_dev
      @galaxies_dev  6 หลายเดือนก่อน

      Filesystem should be used to store files!

    • @ifeanyinnaemego
      @ifeanyinnaemego 6 หลายเดือนก่อน

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

  • @mabdurrafeyahmed9256
    @mabdurrafeyahmed9256 2 หลายเดือนก่อน

    REALM!

  • @njorogebrian4379
    @njorogebrian4379 10 หลายเดือนก่อน

    How can supabase be left out here

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

      My bad - but more RN Supabase content coming soon!

  • @augustinomageka1352
    @augustinomageka1352 10 หลายเดือนก่อน +3

    Supabase bro

  • @Cuti-CornClub-kv1lz
    @Cuti-CornClub-kv1lz 10 หลายเดือนก่อน +4

    No love for supabase Simon?!

    • @galaxies_dev
      @galaxies_dev  10 หลายเดือนก่อน

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