Following our interview series on the 10 years of Node.js, we’ve compiled a few top 10 lists based on opinions of some leading community members and contributors whom we spoke with over the recent months.
Here they are, in no particular order with the exception of Workers which came out tops as the best feature in the history of Node.js so far!
Best Node Feature of the past 10 years?
Best Reason to adopt Node in the enterprise?
Velocity and beating your competitors to the punch
Speed of development
Front-end related tasks are still great with Node
Speed of iteration
Most Common Node pitfalls/programming mistakes to avoid?
Failing to allow for production-level qualities of service up-front, such as logging, internationalization, monitoring, health checks, metrics etc.
Going full async/await before learning callback style
Assuming a property of an object is present
Unnecessary usage of synchronous operations
Unnecessary usage of native addons
Careless consumption of npm modules
Careless selection of Node.js for wrong workloads
Depending on un-exported Node.js internals
Using Promises without studying them. It is very common to break the promise chain
Best Node.js Performance tricks?
Fastify codebase contains some neat tricks!
Use ArrayBuffers to communicate with native addons.
Proper usage of async I/O
You can read back on all our interviews via the links below.