re-frame/examples/todomvc
mike-thompson-day8 8742e8aa65 Use the latest todomvc CSS 2015-03-03 13:16:10 +11:00
..
devsrc/todomvc Take out figwheel for the moment, it is annoying me. 2015-03-02 23:56:05 +11:00
src/todomvc Split todomvc into bite sized namespaces 2015-03-03 13:15:44 +11:00
README.md Begin readme work 2015-03-03 13:15:56 +11:00
project.clj As before 0.2.0 2015-03-02 23:01:56 +11:00
todomvc.html Remove initially shown text in HTML 2015-03-02 23:55:26 +11:00
todos.css Use the latest todomvc CSS 2015-03-03 13:16:10 +11:00

README.md

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

  1. Get the re-frame repo

    git clone https://github.com/Day8/re-frame.git
    
  2. go to the right example directory

    cd re-frame/examples/todomvc
    
  3. build

    lein cljsbuild once
    
  4. 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

  1. A modified version of the offical reagent example