~/talk

Write Tests. Generate UI. Profit!

Talkat React Summit Remote Edition 2021 · 2021-04-14..04-16· [react, testing]

An open‑source library called Spectate generates React state logic from the tests themselves, claiming one can write specs and have state/actions produced. The demo builds an email signup form using the new Spec API: useSpec from spectate‑react, NewInput/NewText variables, click/enter/doEffect steps and a post.json effect that logs the payload. Markup is plain React with props spread from the spec; changing input type to password and reading values with getVal succeeds in the live demo, producing the expected console post.

AI-written summary · about

~/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.