~/talk

Full Stack Components

Talkat Remix Conf Europe 2022 · 2022-11-17..11-18· [react, frontend-architecture]
slides:none on file

Demos a reusable combo-box component that bundles UI plus its backend in one file: a resource route with no default export exposing a loader (GET) and optional action, wired to a Downshift combo box, protected by requireUser, backed by Prisma + sqlite, and fetched via useFetcher with full type safety across the network using TypeScript. Shows serialization via fetcher.submit, adds a spinner solved by useSpinDelay, and reuses the component inside an invoices route — it works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Resource routes in Remix
  3. 2:33Customer combo box demo
  4. 5:48Protecting API endpoints
  5. 6:51Search with Prisma
  6. 8:16UI to backend with useFetcher
  7. 10:19Imperative queries with downshift
  8. 12:04Rendering components
  9. 13:52Loading state with useSpinDelay
  10. 16:20Packaging for npm
  11. 16:45Summary
~/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.