Skip to content

learn-javascript-courses/functional-mixins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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

Releases

No releases published

Packages

No packages published