mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-22 14:58:12 +00:00
TodoMVC done with re-frame
Setup And Run
This demo is delivered as part of re-frame.
Before you start, ensure you have lein XXX
-
Get the re-frame repo
git clone https://github.com/Day8/re-frame.git
-
go to the right example directory
cd re-frame/examples/todomvc
-
build
lein cljsbuild once
-
run
open todo.html
Exploring The Code
From the re-frame readme:
To build a re-frame app, you:
- design your app's data structure (data layer)
- write and register subscription functions (query layer)
- write Reagent component functions (view layer)
- write and register event handler functions (control layer and/or state transition layer)
Each of these
Notes
- A modified version of the offical reagent example