~/talk

A Schema is all you need!

Talkat React Alicante 2024 · 2024-09-19..09-21· [javascript, testing]
slides:none on file

Claims that a single runtime description generates everything needed: FS schema definitions produce decoders, encoders, async validators, fast-check arbitraries and JSON Schema, so types, runtime checks and test data stay in sync. Demonstrates a real bug (using toString instead of toJSON) that corrupts storage, verifies encoders with property‑based round‑trip tests, shows promise‑based validation for async checks, and builds a custom equality interpreter from the schema that actually works.

AI-written summary · about

  1. 0:00Schemas and data validation
  2. 7:17Problem with repeated definitions
  3. 9:04F Schema and its benefits
  4. 10:49Simple schema for a to-do
  5. 13:39Validators from schema definitions
  6. 18:25Encoding data back to form
  7. 21:55Asynchronous validation with F Schema
  8. 25:29Generating random values
  9. 28:49JSON Schema from F Schema
  10. 31:16Advanced use cases
  11. 36:58Conclusion and Q&A
~/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.