NextJS 12 was announced yesterday at the NextJS Conf and they announced a new feature called middleware which allows one to modify the response to a request before it is even completed. This can be in the form of a rewrite, redirect, adding headers, or even streaming HTMl.
Anish De
14 • Tech Enthusiast • Tech YouTuber • Blogs about Development • Developer
Tags
Join Hacker Noon
Create your free account to unlock your custom reading experience.