Stimulus

Noun · Development

Definitions

  1. A modest JavaScript framework from Basecamp (now 37signals) designed to augment server-rendered HTML by attaching behavior to existing DOM elements via data attributes like `data-controller`, `data-action`, and `data-target`, rather than taking over rendering like React or Vue.

    In plain English: A lightweight JavaScript framework that adds interactivity to regular web pages without replacing the server-generated HTML.

    Example: "We don't need a full SPA — a Stimulus controller on the form handles validation and the rest is plain Rails HTML."

Related Terms