Fork me on GitHub
#hoplon
<
2019-06-03
>
Ahmed Hassan04:06:03

@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.

flyboarder05:06:25

as attributes

✔️ 1
flyboarder05:06:43

this way the changes are propagated to elements

✔️ 1
Ahmed Hassan05:06:42

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