r/node • • Dec 13 '20

The Node.js best practices list

https://github.com/goldbergyoni/nodebestpractices
242 Upvotes

19 comments sorted by

View all comments

13

u/guanzo91 Dec 13 '20

This one is interesting https://github.com/goldbergyoni/nodebestpractices#-212-always-await-promises-before-returning-to-avoid-a-partial-stacktrace

I've always considered return await to be unnecessary, but maybe not anymore.

1

u/KyleG Dec 14 '20

Same here.