Rather than dispatching events from one element and having another element listen for it (passive), I am seeing a lot of success of querying for the element and calling a method on it directly (eager). Feels great to me and seems like maybe this is the way web development will be
-
-
Replying to @danbucholtz
Doesn't this increase coupling though? I know it makes sense in some cases, but not sure if as a general approach.
2 replies 0 retweets 1 like
Replying to @masimplo @danbucholtz
Coupling is not an unvarnished evil. Reducing coupling can reduce important errors and cause messages to go into /dev/null so you better actually need the decoupling.
8:36 AM - 7 Feb 2018
0 replies
0 retweets
1 like
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.