3 ms·
To better understand the move away from OO interfaces, and mixins for behavior sharing, first read 'Mixins Considered Harmful'[0], then for a counter point read
by imbnwa 5y ago
To better understand the move away from OO interfaces, and mixins for behavior sharing, first read 'Mixins Considered Harmful'[0], then for a counter point read 'Why are Mixins Considered Harmful?'[1], then the follow-up that POCs a mixin implementation that responds to the issues raised about mixins[2]
[0]https://reactjs.org/blog/2016/07/13/mixins-considered-harmful.html https://reactjs.org/blog/2016/07/13/mixins-considered-harmfu...
[1]http://raganwald.com/2016/07/16/why-are-mixins-considered-harmful.html http://raganwald.com/2016/07/16/why-are-mixins-considered-ha...
[2]http://raganwald.com/2016/07/20/prefer-composition-to-inheritance.html http://raganwald.com/2016/07/20/prefer-composition-to-inheri...