debbar
Re:Why is routing so complex?
on Wednesday December 07, 2016 @04:35PM (#13126444)
Express is definitely better than the others. But I still think it has a bloated API that's not strictly necessary. For example, you still have to learn about the gazillion methods on the Response object. Why not simply return a POJO response object: `{ headers: [...], body: '...' }` ? And if it needs to be async, we could return a promise that resolves to a simple response object.
This is the first time I'm hearing about `page`. I'll check it out.
Re:Why is routing so complex?
on Wednesday December 07, 2016 @03:29PM (#13125924)
That's exactly my point @arkitaip :)