-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
mixins #1551
Comments
There's a |
Just checked I'm still in favor of mixins, and keeping things separate to maximize flexibility:
|
All you should need to do:
|
Feature request
Pleeeease? 馃檹
Use case(s)
Without mixins, Skate has a new issue:
Suppose I
import CoolElement from 'cool-element'
, andCoolElement
does not haveSkateJS
features.Because SkateJS strictly extends from
HTMLElement
, I'm stuck, I can not combine Skate features withCoolElement
.If Skate had mixins, then I could write
withUpdate(CoolElement)
, then make a subclass of that to extend it.The text was updated successfully, but these errors were encountered: