Chain Multiple Middleware Functions in NextJs 13
Hamed Bahram
•
August 2, 2023
Hamed Bahram
@hamedbahramAbout
Modern web dev topics in React and NextJs.
Latest Posts
Video Description
This video looks at chaining multiple middleware functions in NextJs 13. 👉🏼 The Ultimate NextJs Course 🔗 https://www.hamedbahram.io/courses/nextjs 👉🏼 Project source code (Github) 🔗 https://github.com/HamedBahram/next-middleware-chain 👉🏼 Inspired by Jasser's code ↓ 🔗 https://github.com/jmarioste/next-middleware-guide Chapters 0:00 Intro 1:00 Simple middleware 3:00 Add second middleware 4:30 Simple composition 6:25 Add higher-order functions 10:00 Add the chain method 15:10 Reorganizing our middleware files 19:00 Outro
You May Also Like
Master NextJS 13 Today
AI-recommended products based on this video
Loading...

Glad ForceFlex Tall Kitchen Trash Bags, 13 Gallon, Fresh Clean, 140 Count (Package May Vary) GreenCircle Certified: Certified Environmental Facts Label
(57,930)
$17.99
FREE delivery Mon, Dec 1 on $35 of items shipped by Amazon
30K+ bought in past month
Loading...

Amazon Basics 13 Gallon Tall Kitchen Drawstring Trash Bags, Clean Fresh Scent, 10% Post Consumer Recycled, 80 count
(8,549)
$10.77
FREE delivery Fri, Aug 29 on $35 of items shipped by Amazon
100K+ bought in past month




