~/talk

Building a next-gen validations framework

Talkat ConfrontJS 2022 · on Saturday, 2022-03-26· [javascript, testing]
slides:none on file

A concrete validation library is built and demoed working: a framework‑agnostic engine that runs test‑style declarative suites over form state, returns a result object used for class names and submit enablement, and supports memoized async checks with a skipWhen hook to avoid pointless server calls. Live code shows multiple validations per field, inner scopes, UI helpers, and a tiny footprint — about 7 KB zipped — all functioning end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 3:31Vest framework intro
  3. 4:13Traditional form validation problems
  4. 7:01Form validation libraries
  5. 9:29Vest's design principles
  6. 10:32Live coding form validation
  7. 13:42UI feedback with class names
  8. 15:10Disable submit until valid
  9. 15:55Async validations and spinners
  10. 18:21Memoization and performance
  11. 19:30Conditional validation with skip logic
  12. 20:56Vest features summary
~/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.