Liking cljdoc? Tell your friends :D

Forms

Sweet Tooth eliminates much of the boilerplate for creating forms.

with-form

  • the form "name"
    • used for storing form state
    • used for sync
  • inputs
  • fields
  • submission
    • syncing
    • lifecycle / state that gets updated
    • what gets submitted - extra data

Validation

success

fail

Structuring Data

URLs and routing

Sync

Flows (organization)

Dev

Demo

cd demo
shadow-cljs watch app
open http://localhost:8020/

Running tests

Watch with

lein doo

Run once with

lein doo node test once

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close