TLDR Web Dev · OPINIONS & ADVICE

NEXT.JS IS INFURIATING

blog.meca.sh11 min read

Summary from the TLDR Web Dev newsletter

This dev was frustrated with Next.js, particularly concerning production-ready logging. In this post, he goes over the difficulties he had while trying to implement logging using middleware and AsyncLocalStorage, as there are limitations in Next.js's middleware system. He had to create an elaborate workaround involving passing data through headers to achieve logging in pages and layouts, which he finds unnecessarily complex.