Fork me on GitHub
#reagent
<
2015-08-06
>
nblumoe07:08:41

thank for the feedback @mikethompson. I also updated the article

benzen14:08:33

Hi, I'm trying to create a a component with a local state

benzen14:08:58

I'm having difficulty to create this kind of component

benzen14:08:29

Anybody here tryed it?

benzen14:08:34

@jellea: very nice, thank you very much

benzen14:08:19

i overlooked re-frame thinking that it was some kind of layer on top of reageant, know i get what it is for real thanks you

benzen17:08:30

ok, so i can use the form-2, but a call to a component that use this second form should it call the inner function?

benzen17:08:31

I mean ''' (defn outer-comp [] (let [] (fn [] ))) ((outer-comp)) '''

antishok18:08:06

@benzen: no, it should be used normally, e.g. [outer-comp]