August 2017
Beginner
374 pages
10h 41m
English
Middleware is a JavaScript pattern, similar to the Chain of Responsibility (CoR) pattern, where a chain of functions is used to handle an incoming event, often in the form of a request.
This pattern is especially useful in libraries that deal with events (such as requests in express or actions in Redux). The middleware pattern has several benefits:
Certain libraries, such as express, allow you to extend their functionality ...
Read now
Unlock full access