meteor - How do I attach a reactive-var to a child template? -


i tried standard way, happens currentodds of child templates receive value given reactive-var in last child template created. o.o

is bug of meteor? how did it:

template.childtemplate.oncreated(function () {   instance = this;    odds = ... (dynamically generated)   instance.currentodds = new reactivevar(odds); }); 

i wasn't doing wrong, issue had because of bug in blaze (1)

there's nothing we're supposed to different when attaching reactive-var child template, compared normal template. should done in same manner.(2)


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -