You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the time when _initialize or _wireEvents are used, the reason is to write a series of (…).get(…).react(…) statements (or, more correctly, this.reactTo(this.get(…), …)).
I dislike needing to actually override the method body and I dislike both these method names (one more than the other can you guess which?) but sometimes you just have to and try as I might I can't come up with better names.
If we add a react() type declaration to subsume these occasions, we move a lot of that need away and so I don't have to see those names as often.
The text was updated successfully, but these errors were encountered:
issa-tseng
changed the title
Model/DomView react() declaration
Maybe: Model/DomView react() declaration
Mar 17, 2019
issa-tseng
changed the title
Maybe: Model/DomView react() declaration
Maybe: Model/DomView builder react() declaration
Jul 23, 2019
Most of the time when
_initialize
or_wireEvents
are used, the reason is to write a series of(…).get(…).react(…)
statements (or, more correctly,this.reactTo(this.get(…), …)
).I dislike needing to actually override the method body and I dislike both these method names (one more than the other can you guess which?) but sometimes you just have to and try as I might I can't come up with better names.
If we add a
react()
type declaration to subsume these occasions, we move a lot of that need away and so I don't have to see those names as often.The text was updated successfully, but these errors were encountered: