Functional mixins are composable factory functions which connect together in a pipeline; each function adding some properties or behaviors like workers on an assembly line. Functional mixins don't depend on or require a base factory or constructor: Simply pass any arbitrary object into a mixin, and an enhanced version of that object will be returned.
- What are mixins?
- What are functional mixins?
- How do you compose functional mixins?
git clone git@github.com:learn-javascript-courses/functional-mixins.git
cd functional-mixins
# open folder in your favorite text editor
# atom .
# subl .
npm run watch #start dev console for live test feedback