In Japan at least.

  • i_am_not_a_robot
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    React Native and React are different. React Native does not use a web browser.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 months ago

      Technically React DOM doesn’t need a browser either - it works fine with Node.js + jsdom for example, or really any JS engine. Tests written using React Testing Library don’t use a browser. There’s also React Server Components, and React can be used to render non-HTML content too.

      Why would someone use React DOM on iOS when React Native exists, though? That’s the part I don’t understand. The core concepts are the same between the two, and you can share a large amount of code between a React web app and a React Native mobile app (even moreso if you use react-native-web for the web app).