What is the fundamental difference between app.locals and app.set(), app.get()?

What is the fundamental difference between app.locals and app.set(), app.get() in terms of storage any app data?
July 8th 19 at 11:46
1 answer
July 8th 19 at 11:48
Solution
app.locals always Marjatta with res.locals (in fact global locals)

app.set() and app.get() are used to set/read the application settings.

Find more questions by tags Express.jsNode.js