This directory contains a growing number of standalone example projects, including live online versions, build instructions and commented source code.
If you want to contribute an example, please get in touch via PR, issue tracker, email or twitter!
# | Name | Description | Packages of interest | Difficulty |
---|---|---|---|---|
1 | async-effect | Async side effect handling (JSON I/O) | atom, hdom, interceptors | intermediate |
2 | cellular-automata | Transducer based, customizable 2D cellular automata | hdom, hdom-components, transducers | basic |
3 | dashboard | Barebones components w/ local state | hdom, transducers | basic |
4 | devcards | multiple app instances with/without shared state | atom, hdom | intermediate |
5 | hdom-basics | hello world | hdom, hiccup | basic |
6 | hdom-benchmark | hdom rendering perf / stress test, canvas FPS counter | hdom, rstream, transducers | intermediate |
7 | hdom-theme-adr-0003 | hdom themed components proposal | hdom | intermediate |
8 | interceptor-basics | event handling w/ interceptors and side effects | atom, hdom, interceptors | intermediate |
9 | json-components | JSON->component transformation, live editor | hdom, transducers | intermediate |
10 | login-form | basic SPA without router | atom, hdom | intermediate |
11 | pointfree-svg | generate SVG using pointfree DSL | hiccup, hiccup-svg, pointfree-lang | intermediate |
12 | router-basics | complete mini SPA | atom, hdom, interceptors, router | advanced |
13 | rstream-dataflow | dataflow graph | atom, hdom, rstream, rstream-gestures, rstream-graph, transducers | intermediate |
14 | rstream-grid | dataflow graph svg gen | atom, hdom, hiccup-svg, interceptors, rstream-graph, transducers | advanced |
15 | svg-particles | hdom SVG generation / animation | hdom, transducers | basic |
16 | svg-waveform | hdom SVG generation / undo history | atom, hdom, hiccup-svg, interceptors, iterators | intermediate |
17 | todo-list | Canonical Todo list with undo/redo | atom, hdom, transducers | intermediate |
18 | webgl | Canvas component handling | hdom, hdom-components | basic |