Skip to content

A small project that demonstrates how higher order components work at a basic level

Notifications You must be signed in to change notification settings

David-mwendwa/higher-order-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Higher order components

A small project that demonstrates how higher order components work at a basic level

HOC is a function that gets a component and return a new enhanced component In other words it is a pattern where a function takes an agument and returns a new component.

i.e. const NewComponent = higherOrderComponent(originalComponent)

Install dependencies

In your terminal after you clone your project down, remember to run either yarn or npm install to build all the dependencies in the project.

About

A small project that demonstrates how higher order components work at a basic level

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published