Saying inline functions in render is bad is like correcting somebody who said "who" to say "whom" when "who" was actually correct.
-
-
Even Ember, which on balance has less logic in our render() (templates) than react has an inline action thing.
-
modern ember probably different, but I struggled to keep required referential model identity. People are opting into that and don't need to.
-
What does "referential model identity" mean?
-
if my model wasn't the exact same object between updates, things went nuts.
-
Is this inside lists?
-
this is old ember, I must not be saying the right words, but if you didn't return the same model the whole page would rerender.
-
Yeah I think that hasn't been true since 1.13. Since glimmer, we diff at the text or attribute node, not data.
-
And similar, since 1.13 (or maybe 2.0)
#each has had a key param. - 3 more replies
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.