hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
Ahmed Hassan 2019-06-03T04:14:03.025400Z

@flyboarder I mean if I have (defc clicks 0). Should I pass it as attribute/argument to defelem/`defn` like following code in snippet. Or should cell simply be called inside defelem/`defn` form because it is available everywhere in namespace being a def form. (???) Instead of passing it as arguments as shown in above code.

flyboarder 2019-06-03T05:33:25.026100Z

as attributes

✔️ 1
flyboarder 2019-06-03T05:33:43.026500Z

this way the changes are propagated to elements

✔️ 1
Ahmed Hassan 2019-06-03T05:44:42.027300Z

@flyboarder so the model given in the above code is correct?

flyboarder 2019-06-03T06:33:53.027600Z

Yes

✔️ 1