Skip to content

Generating a re-frame form from a clojure.spec

Notifications You must be signed in to change notification settings

puffedo/re-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

re-spec

A re-frame application designed to show how to implement forms using clojure.spec.

Based on Kirill Ishanov's re-frame-spec-forms-example. The original code uses clojure.spec for validation only - the form component is still hand written so it matches the spec'ed data structure. re-spec tries to render the form from the spec automatically.

Development Mode

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Production Build

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min

About

Generating a re-frame form from a clojure.spec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published