I’m disabling this feature because I don’t know what it is:
app.set('view options', { layout: false });
But It sounds interesting so I would like to know why was this designed, so I would like to know what are the usage cases and why is this good 🙂
If you read the View Rendering section it tells you about layouts.
It’s a way to apply generic HTML wrappers to all your pages.
For example Reference
Is a layout for an example from the express folder. This will be applied to all pages and your actual view that your rendering will be rendered in
!= body