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
The attributes method is available to both component and mixin modules. When used with mixins it will not overwrite attributes already defined in the component module.
My impression was that default attributes defined in components would never be overridden by default attributes defined in mixins. However, the opposite seems to be the case for me:
The mixin API documentation has a section on overriding defaults:
My impression was that default attributes defined in components would never be overridden by default attributes defined in mixins. However, the opposite seems to be the case for me:
If I want the component's default attribute to take precedence over the mixin's, I need to change the order they are passed into
flight.component()
:Is this the intended behavior? If so, can we clarify this in the documentation?
The text was updated successfully, but these errors were encountered: