~/talk

Sprinkle Javascript with StimulusJS

Talkat Developer Summit 2020 · 2020-11-21..11-22· [javascript, web-platform]
name:Leena S N
linkedin:leenasn
slides:none on file

Monolithic server‑rendered app for online teachers uses Turbolinks plus Stimulus controllers to “sprinkle” behavior: each UI feature becomes one controller with data targets and actions, fetches server‑rendered HTML fragments and appends them (no JSON→DOM loop), and uses lifecycle hooks (initialize/connect/disconnect). The stack stays small, autocomplete and lightbox features are implemented this way, and the approach proves maintainable over two years on a real product.

AI-written summary · about

  1. 0:00Introduction and background
  2. 5:25Why use JavaScript with SSR
  3. 7:33Introducing StimulusJS
  4. 13:22Stimulus controllers and targets
  5. 15:56Comparison with other frameworks
  6. 17:42Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.