learn-javascript-courses / functional-mixins

Functional Mixins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functional Mixins

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.

Questions

  1. What are mixins?
  2. What are functional mixins?
  3. How do you compose functional mixins?

Follow Along

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

About

Functional Mixins

License:MIT License