class keyword in 2015 with the release of ES6. React made classes an indispensable language feature when they introduced support for using
extends React.Component instead of
React.createClass() in 2015, and removed support for
There's some confusion on the internet about what happens when you call
Model.find() in Mongoose. Make no mistake,
Model.find() does what you expect: find all documents that match a query. But there's some confusion about
Query#find(), setting options, promise support. In this article, I'll provide a conceptual overview of what happens when you call
Model.find() so you can answer similar questions for yourself.
v to a string:
NaN, implicit radixes, and numbers vs Numbers, there are a lot of ways to shoot yourself in the foot. In this article, I'll cover the tradeoffs of
isNaN(). I'll also describe how to enforce these rules with eslint.
Mongoose 5.4 was released on December 14, with 13 new features. The overarching theme for 5.4 is making Mongoose SchemaTypes more configurable, but that isn't the whole story. Mongoose 5.4 has several new features that will help you make your apps more robust and concise. In this article, I'll cover the new
Model.events property and the new
count option for virtual populate.