• jana@leminal.space
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    JSX can exist without React; it’s essentially just an alternative syntax for function calls.

    (That is, annoyingly, handicapped in the Typescript checker)

    • 🔻Sleepless One🔻@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Solid uses JSX and is both much more performant than React while removing several of it’s footguns. You also have WASM frameworks like Leptos that use similar syntax (RSX) while using languages that aren’t JS.

    • naught@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Very true! Shouldnt be a point for react i guess. I believe they originated the syntax perhaps? Regardless, I love it (: