-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problems with mixins #10
Comments
I've done something like that for a talk that covered (es6) React and Ampersand... let me know if this would be useful: It's just a function that wraps your stateful component in a higher order one that gets updated when things change. |
@ruiramos Personally, I think it would be great if you could extract that out into it's own npm module. 👍 😎 Or maybe it's something that the Ampersand team could take on? This ampersand-react-mixin module hasn't been updated in quite some time and now it seems that the preferred method of doing something like this has changed. |
Hi, I recently published https://github.com/naugtur/backbone-redux-migrator which is a tool for migrating to redux as in projects I witnessed using mixins to join backbone with react was a dead end. What's your experience with ampersand? |
This article details some of the many flaws inherent to mixins.
Quoting Dan Abramov:
Perhaps a compositional example could be provided as an alternative?
The text was updated successfully, but these errors were encountered: