Jack takes a look at higher-order components, a design pattern that helps keep your React apps tidy, well structured and easy to maintain.
Tag: composition
Higher-order Components: A React Application Design Pattern
Object-oriented JavaScript: A Deep Dive into ES6 Classes
Jeff Mott takes an in-depth look at ES6 classes starting with the basics, then moving on to discuss inheritance, encapsulation, polymorphism and much more.
Quick Tip: What Are Factory Functions in JavaScript
Dan Prince looks at factory functions in JavaScript, examining the different types, their use cases & how they allow us to separate data from computations.
Function Composition: Building Blocks for Maintainable Code
M. David Green demonstrates how to implement function composition in JavaScript, a technique which lends itself to writing cleaner and more succinct code.
Composition in Aurelia.io: Creating a Report Builder
Aurelia exposes visual composition as a first-class feature. Vildan Softic explains how this helps you build a complex app out of small reusable components.