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
This can be done pretty easily. I wonder if we should make it more complex by separating scope between mixins and original prototype or something like that... Maybe something to consider later on?
The text was updated successfully, but these errors were encountered:
ATM the only built-in way to reuse functionalities with Yeoman is inheritance:
That's fine, but it's hard to share multiple decoupled functionalities as prototypes only support single inheritance.
We could offer a way to easily mix-in functionalities in Yeoman. That's the API I have in mind:
Which would basically results in:
This can be done pretty easily. I wonder if we should make it more complex by separating scope between mixins and original prototype or something like that... Maybe something to consider later on?
The text was updated successfully, but these errors were encountered: