BigFax

Results 8 comments of BigFax

I proposed a new "magic string" because it seemed to me to stick with the vision of the project and the normal behavior of the `next()` function (as 'route' and...

I got your point. To me, `next('last')` was like `next('route')`, a way to manage routing cycle. In your first example, this is indeed one way of doing rendering. In this...

@bpernick I don't know. I didn't follow this subject since a long time. I still think that if magic strings are kept, `next('last')` make sense, but that magic strings should...

@pakastin Thank you for your comment. You're referring at my second possible solution. The problem i encounter with this is that i don't arrive to call the right middleware depending...

@pakastin If i put my error handler as a last middleware it won't work : `Router.route('/auth').get(middleware1, middleware2, getAuth, errorsHandler);` How could i access my `getAuth` now ? I need to...

@dougwilson Thank you for your comment. Firstly, i thought work-arounds was a synonym of solutions (as i wrote in stack overflow), sorry about my english level :p In fact, it...

Hello :) Just to let you know that I have the same issue with `clean: true`, but with `webpack-hot-middleware` which doesn't use `webpack-dev-server` but only `webpack-dev-middleware`. When I use webpack...

I just came back here after few years and notice I didn't tell what I did. To quickly summarize, the dougwilson solution was what I used for the project at...