React - Higher Order Component (HOC)


Higher Order Component is a function that takes a component and returns a new component.

It's not really a component, more a design pattern known as decorator.


const EnhancedComponent = higherOrderComponent(WrappedComponent);




Documentation / Reference

Discover More
Card Puncher Data Processing
Cognito - React

and cognito is built into the auth amplify component. See For React and React Native apps: For the UI, see UI React components The simplest way to add authentication flows into your...
React - Composite Component (Layout) / Container Component

React Layout / Composition - There is three methods to create a composite component from simple component / or composite (decorator) Props: via props but alsoRefs (They provide a...
React - Memo (Cache)

Memoization is a React caching function that caches a computed value. It save the results of computation, and reuse these results if it sees the same inputs later. React memo is the equivalent...
React - State

This page is UI State in React. The Local state to a component in react is known as: state. A change of state triggers a render ref. A change of ref value does not triggers a render The global...
React Framework - Next.js

Next is a React framework for server-rendered React applications. isomorphic apps (code that runs in the browser or in node) note from the getting started...
What are React Hooks?

hooks are functions that: let you hook into React state and lifecycle features from function components. can be used only in a functional component (ie not inside classes component) may call other...

Share this page:
Follow us:
Task Runner