▲ | ollysb 5 days ago | ||||||||||||||||||||||||||||
When they transitioned to the app router it was like they'd given some bootcamp graduates a crack at "improving" on the express apis - which are mature and roughly align with the composable russion doll approach taken in servlets, rack, plug and any other server interface I've ever seen. Aside from the abysmal middleware api you also have the dubious decision to replace having a request parameter with global functions like cookies() and headers(). Perhaps there is some underlying design constraint that I'm missing where all of these decisions make sense but it really does look like they threw out every hard fought lesson and decided to make every mistake again. | |||||||||||||||||||||||||||||
▲ | arend321 5 days ago | parent [-] | ||||||||||||||||||||||||||||
I believe the obsession with streaming is a major factor in the new constraints. Together with supporting the lowest common denominator, edge runtimes. | |||||||||||||||||||||||||||||
|