These are chat archives for KoryNunn/fastn

13th
Jul 2015
Sholto Maud
@shotlom
Jul 13 2015 01:14
Is there a fastn.binding cheatsheet explaining all the power & funkyness?
Bindings are fairly simple
not a huge amount to know about them
when a component gets attached via .attach(someObj)
and properties will do the same on their binding
it will call .attach(someObj) on all of its properties
Sholto Maud
@shotlom
Jul 13 2015 01:26
Cheers, so the fastn.binding('todos|*') syntax is regex-like?
i.e. the 'todos|*' implements a regex search on someObj?
Kory Nunn
@KoryNunn
Jul 13 2015 01:29
no
Sholto Maud
@shotlom
Jul 13 2015 01:30
oh
Sholto Maud
@shotlom
Jul 13 2015 01:30
Brilliant, that's what I'm looking form
*for
Ta
Kory Nunn
@KoryNunn
Jul 13 2015 01:31
The * and ** do not get used very often
they get used for lists, because the list needs to know if the value of its keys change
and occasionally for things like persisting arbitrary changes to local-storage
Sholto Maud
@shotlom
Jul 13 2015 01:32
k - suggest a link to enti in the binding doco https://github.com/korynunn/fastn#binding
Kory Nunn
@KoryNunn
Jul 13 2015 01:34
Done
Sholto Maud
@shotlom
Jul 13 2015 01:35
:thumbsup: