"A_Quick_Tour" mixes inc and increment
Closed this issue · 2 comments
pasih commented
http://untangled-web.github.io/untangled/guide.html#!/untangled_devguide.A_Quick_Tour
The guide tells us to change the state with counter/increment
:
(om/transact! this `[(counter/increment {:id ~id})])
However, the mutation method example has counter/inc
instead of counter/increment
: (defmethod m/mutate 'counter/inc ...
.
I think this is wrong (and if it's not, it might be a good idea to explain the difference).
awkay commented
You are almost certainly correct. I'll take a look.
awkay commented
See new library (which includes the devguide) at http://github.com/awkay/untangled.