linkedlist:

Markup-based JavaScript Frameworks

#38 · (updated 2022-05-14) · JavaScript, HTML, DOM

These libraries/frameworks use HTML markup to execute JavaScript on the client side. They are often used for server-side rendered (SSR) applications. An example could look as follows.

<div x-data="{ open: false }">
  <button @click="open = true">Expand</button>
  <span x-show="open">
    Content...
  </span>
</div>