---
title: "JavaScript"
description: "Staying away from frameworks like React makes our code smaller and forces us to think about the foundation first."
canonical_url: "https://codex.republic.se/languages/javascript"
section: "Pages"
---

# JavaScript

Staying away from frameworks like React makes our code smaller and forces us to think about the foundation first. At the same time, we need a way to organize and structure the code and make it modular. For now, we think that *Stimulus* makes a good choice.

Other libraries that make sense for us are *Datastar* and *htmx*. When working with Craft CMS, both Datastar and htmx have dedicated Craft plugins.

---

- [ ⚡️ Hotwire (Turbo + Stimulus) ](/languages/javascript/hotwire-turbo-stimulus)
- [ 🚀 Datastar ](/languages/javascript/datastar)
- [ ◀️ htmx (Sprig) ](/languages/javascript/htmx-spring)
- [ 🏔️ Alpine ](/languages/javascript/alpine)
- [ JSON ](/languages/javascript/json)
