The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

hettlage (136) [Avatar] Offline
On page 76 you state that

This middleware function allows you to run custom code on the request before it matches with any other routes in your application.

This sentence might be slightly ambiguous and could be interpreted as (wrongly, it seems) implying that the order of use and get doesn't matter, as the middleware function is executed before Express tries to match the route.
TheWexler (62) [Avatar] Offline
Thanks for pointing that out. I agree! I'll reword that and make it clear that order does matter smilie