Higher-Order Functions

A basic introduction to higher-order function.

We'll cover the following

The basic store functionality in Redux is very simple and sufficient for most use cases. Yet sometimes, it is useful to slightly change one of the methods or even add new ones to support more advanced use cases. This can be done by decorating the store.

Higher-Order functions

Before we proceed, let’s do a quick overview of what higher-order functions are. We can define the term as referring to a function that either takes one or more functions as arguments, returns a function as its result, or does both. Here’s an example:

Get hands-on with 1200+ tech skills courses.