• body_by_make@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    I assume you mean react native, not react, unless you’re using something like capacitor. React native is a far shot from react and is much more annoying to deal with.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Yes I mean react native

      Wouldn’t be bothering with it if I were just working with web

      • body_by_make@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Using capacitor as a native shell for your web app can be very nice, actually. It lets you hook into native API calls and build native apps while hardly ever having to write native code, unless you want to, which presumably you don’t since you’re writing react native.

        • flashgnash@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 month ago

          Honestly doing it again I’d just write in xamarin or something not web orientated because as it turns out the web app is going to need to be separate anyway

          I might look into capacitor but is that not basically just electron?

          • body_by_make@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            I guess you could see it that way, but web views are inherent in mobile operating systems, they don’t need to be bundled into your app, so capacitor apps aren’t big bloated memory consuming applications like electron apps are. There’s a lot of well made apps running on capacitor that you wouldn’t even know, especially if you use something like ionic framework to actually have the look and feel of native mobile apps.