• merthyr1831@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    RN is native too I think, at least it advertises itself as a way to compile some kind of XML syntax into native widgets on either platform. An improvement to PWAs even if I despise typescript

    • hruzgar@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      yeah, it displays native widgets but there is still a js engine (browser) running in the background. So the basically made a layer between native components and Javascript. But the code which is running is js and js is slow.

      • deadcream@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        JS by itself is very fast (it’s one of the fastest dynamic languages). It’s interop with platforms APIs that is slow, at the fact that each React app spins up its own instance of Chromium also doesn’t help.