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
Right now we don't do this consistently, so you could have behavior that varies depending on where you put the mixins key in your class spec. That's not great.
Mention me if there's something else I can take. I liked that although this task had a small scope, it introduced me to the way createClass actually works and how spec transforms into a component instance. It would be cool if I could take a few small tasks in other areas (rendering, batching) that introduce me to these areas.
Activity
sophiebits commentedon May 22, 2014
Doing mixins first is more intuitive to me because that's normally how people write the specs (in my experience, at least).
gaearon commentedon May 23, 2014
Hi, thanks for the mention. I'd like to take on this if nobody minds.
I agree with @spicyj that calling mixins first is more intuitive.
sophiebits commentedon May 23, 2014
@gaearon Go for it! Let me know if you have any questions; I'm happy to help.
gaearon commentedon May 23, 2014
OK great. I'll try to do it tomorrow.
gaearon commentedon May 26, 2014
@zpao @spicyj
Mention me if there's something else I can take. I liked that although this task had a small scope, it introduced me to the way
createClassactually works and how spec transforms into a component instance. It would be cool if I could take a few small tasks in other areas (rendering, batching) that introduce me to these areas.[deps] Add DeclareLocal to ReactiveScope decls