Almost every Express app I see has an app.use
statement for middleware but I haven’t found a clear, concise explanation of what middleware actually is and what the app.use
statement is doing. Even the express docs themselves are a bit vague on this. Can you explain these concepts for me please?