• @[email protected]
    link
    fedilink
    English
    711 months ago

    SQL is run on the server to communicate with a database. The screenshot is jsx, which is a front-end, UI templating language. Writing SQL this way is cursed

    • @SirQuackTheDuck
      link
      211 months ago

      It could be querying the in-browser database (that’s commonly used, such as with WhatsApp web), which would be seeded by a different part of the application

      • @utopianfiat
        link
        English
        511 months ago

        Except that’s still a SQL dialect, not JSX. There’s no need to make this JSX.