re-frame/examples/todomvc
mike-thompson-day8 9bb1b4e459 Start to simplify todomvc 2015-03-06 18:10:18 +11:00
..
devsrc/todomvc Take out figwheel for the moment, it is annoying me. 2015-03-02 23:56:05 +11:00
src/todomvc Start to simplify todomvc 2015-03-06 18:10:18 +11:00
README.md Improve todomvc readme 2015-03-05 00:45:33 +11:00
index.html added routing to todomvc 2015-03-06 17:30:31 +13:00
project.clj added routing to todomvc 2015-03-06 17:30:31 +13:00
todos.css Use the latest todomvc CSS 2015-03-03 13:16:10 +11:00

README.md

TodoMVC done with re-frame

A re-frame implementation of TodoMVC.

Setup And Run

  1. Install Lien

  2. Get the re-frame repo

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

    cd re-frame/examples/todomvc
    
  4. build

    lein cljsbuild once
    
  5. 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 part has its own cljs namespace.

Notes

This is a modified version of the the offical reagent example