~/talk

Component Driven ClojureScript with Storybook

Talkat re:Clojure 2021 · 2021-12-03..12-04· [clojure, developer-experience]
slides:none on file

Shows that Storybook runs with ClojureScript using Reagent components compiled by shadow-cljs and served through Storybook’s webpack dev server, requiring wrappers like reagent/as-element and reactify-component to bridge React, and converting Storybook’s args/controls JS objects into ClojureScript maps. Demonstrates actions for event logging, addons.docs with a custom docs page, and practical fixes: extracts avatar/button subcomponents, discovers a bad UX (button hides on blur), removes the code, and confirms the isolated stories and live reloading work end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Component Driven
  3. 1:23Storybook
  4. 1:49Storybook UI
  5. 3:00Storybook Documentation
  6. 4:34Creating a Component
  7. 6:21Arguments
  8. 10:52Documentation
  9. 13:05Custom Documentation
  10. 15:27Storybook Usage
  11. 22:15Outro
~/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.