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
Hi - I'm just exploring this way of implementing mixins and I'm really liking it. However one thing that I've noticed is that the instanceofcheck doesn't work as I expected when using multiple mixins when doing something like:
class D extends mix(A).with(B, C)
In this case D instanceof B will be true, however D instanceof C will be false.
Is there any way to work around this? Or have I misunderstood how the @@ hasInstance support is supposed to work?
The text was updated successfully, but these errors were encountered:
Hi - I'm just exploring this way of implementing mixins and I'm really liking it. However one thing that I've noticed is that the
instanceof
check doesn't work as I expected when using multiple mixins when doing something like:In this case
D instanceof B
will be true, howeverD instanceof C
will be false.Is there any way to work around this? Or have I misunderstood how the @@ hasInstance support is supposed to work?
The text was updated successfully, but these errors were encountered: