▲ | rs186 5 days ago | ||||||||||||||||
That doesn't answer parent's question. People expect "middleware" to mean a certain thing and work a certain way. | |||||||||||||||||
▲ | bestest 5 days ago | parent [-] | ||||||||||||||||
express/koa give you the use() chain.
next.js gives you one root, but nothing stops you from chaining yourself. same semantics, just manual wiring.
};
root is given, chain is trivial. that’s middleware. | |||||||||||||||||
|