Ember people, did you know that you can write components without a wrapper element (with `tagName: ''`)
-
-
Watched! "Render prop" is synonymous with "Block Param" in Ember: <Mouse>{mouse => ...}</Mouse> {{
#my-mouse as |mouse|}}...{{/my-mouse}} -
And with the upcoming angle bracket syntax in Ember: <Mouse as |mouse|>...</Mouse>
-
fwiw I really do think that having a built-in syntax for this helps cut through a lot of the debate about whether this is a good idea.
-
And nothing is stopping JSX from having syntax like <Mouse as |foo|> or something that people think looks more like JS like <Mouse (foo)>
-
If this matters to anyone in the React community: The Ember community is 100% behind block params aka render props. It's how we roll.
End of conversation
New conversation -
-
-
I think
@knownasilya was originally referring to sth like "domless" rendering. ember-leaflet was given as example. -
Or compose tagless components to render to single canvas. I.e. use {{yield}} to pipe data, that drives some programmatic API (Maps,WebGL...)
-
New conversation -
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.