Is react-addons-pure-render-mixin needed?


Do I need to have react-addons-pure-render-mixin in my Meteor / React project?

I’m not using the mixin anywhere and I’m not using the createContainer of react-meteor-data anywhere. But I’m wondering if perhaps Meteor is using it behind the scenes somehow?


This is exactly the same question that came to my mind.

Dan Abramov recently wrote this article: Mixins Considered Harmful.

Today is it good to use the react-addons-pure-render-mixin package in a Meteor application, or is better to avoid it for a better alternative?


Sounds like you can do this instead, based on the suggestion:

To be clear - there is no downside at all to using mixins internally in libraries. The only problem is when your components start depending on a lot of mixins, making your app code more complex.


Thanks a lot @sashko, very clear! :slight_smile: :thumbsup: