unless you can show me some magic HBS file without any loops or branches @ryanflorence @wycats @chantastic
-
-
Replying to @joegaudet @jkarttunen and
it's about structure not logic. 1/
1 reply 0 retweets 0 likes -
Replying to @wycats @joegaudet and
you have to be a human interpreter to understand the structure of a JSX function 2/
1 reply 0 retweets 0 likes -
Replying to @wycats @joegaudet and
as a programmer, I don't prefer that, but as a designer who doesn't know JS, it's hard 3/
3 replies 0 retweets 0 likes -
Replying to @wycats @joegaudet and
there are cost/benefits on both sides. being honest with ourselves helps 4/4
4 replies 0 retweets 0 likes -
Replying to @wycats
100%. The context in HBS gets a bit fuzzy for me, & the multiple call methods actions
@jkarttunen@ryanflorence@chantastic1 reply 0 retweets 0 likes -
Replying to @joegaudet @jkarttunen and
the context is just lexical scope + optional self (a la Ruby).
5 replies 0 retweets 0 likes -
Replying to @wycats
also took some figuring to wire two child components together with the {{yield this}}
@jkarttunen@ryanflorence@chantastic1 reply 0 retweets 0 likes -
Replying to @joegaudet @jkarttunen and
`yield this` is more-or-less equivalent to `yield self` in Ruby (you write Ruby, right?)
1 reply 0 retweets 0 likes -
Replying to @wycats
yeah, I got there eventually, the confusion was in connecting it to the as |foo| HBS
@jkarttunen@ryanflorence@chantastic1 reply 0 retweets 0 likes
makes sense. the key with hbs is treating it like a real lang that follows real scope rules
-
-
Replying to @wycats @joegaudet and
if you do, a lot of your previous knowledge is highly portable.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.