"nodejs""javascript""backend"
7 min read🧵 AsyncLocalStorage: Stop Passing userId Through 15 Function Signatures
You know that feeling when userId shows up in a function parameter, then the caller, then the caller's caller, and suddenly it's req.user all the way down six layers? Node.js has had a fix for this since v16. Nobody told you.
Feb 26, 2026