It's disconcerting to hear that some at TC39 are pushing back against decorators. @BrendanEich please tell me these rumors are unfounded nonsense. The major projects using decorators is endless, as is the pain of this feature being forever in limbo.
iow @connect is really just "custom syntax" for the Redux dialect of JS, to a first approximation.
A handful of those extensions are very powerful. Dozens and you should probably be using your own language.
-
-
Yes, exactly. High-level framework features applied to a class, spitting out a new class wrapping the old, adding new stuff. Other main use case ime is for ergonomic mixins const validated = Class => class extends Class { isValid = true; validate() { etc }
-
But now with different syntax

-
And maybe a cowpath for real syntax someday!
End of conversation
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.