3 ms·
Connect middleware has never been especially clean for me. Every app I end up working on, we slowly grow this hideous mess of middleware that starts off like:
by ctide 15y ago
Connect middleware has never been especially clean for me. Every app I end up working on, we slowly grow this hideous mess of middleware that starts off like:
https://github.com/LockerProject/Locker/blob/master/Ops/webservice.js#L38-56 https://github.com/LockerProject/Locker/blob/master/Ops/webs...
And tends to end with around 40 lines of checking URLs and other various bits of information to know which middleware can be chained in, and in which order that doesn't cause them to conflict with one another.
If Strata can solve this mess, then it's definitely a step up in my opinion.