Bite sized JavaScript tutorials for busy developers Follow us on Substack: masteringjs.substack.com

null
Mastering JS retweeted
Mongoose 8.7.2 released 🛠️ Recursively clear modified subpaths when setting deeply nested subdoc to null 📚 Make Buffers into mongodb.Binary in lean result type to match runtime behavior github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
2
8
214
I've worked with S-Tier programmers that dev on Linux. Also ones that dev on OSX. Even a couple that dev on Windows Sorry to say it, but switching OS won't make you a better developer #CodeNewbie #JavaScript
38
Express 5.0 PR just closed: github.com/expressjs/express… #NodeJS

ALT Something Big Is Going On Al Gore GIF

1
34
Good naming means making your names specific enough to inform what the function is doing from the function name Today we saw a function named `parseAndValidateUserData()` 😭😭😭 On a scale from 1-10, that's a 2. 1 would be function named `doStuff()` #100DaysOfCode
1
25
Mastering JS retweeted
Controversial take: you shouldn't use `forEach()` in modern JavaScript. Only possible exception is if you have a quick one-liner or if you really really know what you're doing. Here's why: masteringjs.io/tutorials/fun… #JavaScript #CodeNewbie
6
12
16
Mastering JS retweeted
JavaScript doesn't support named parameters, but destructuring objects can let you fake named parameters. Just make the first parameter an object and destructure: masteringjs.io/tutorials/fun… #javascript #CodeNewbie
1
6
14
Mastering JS retweeted
We find ourselves going back to this tutorial EVERY SINGLE TIME we add Webpack to a new project. masteringjs.io/tutorials/web… If only we could find a way to memorize Webpack configs 😆 Or maybe just write a CLI tool? 🤔 #CodeNewbie #100DaysOfCode
3
19
18
Mastering JS retweeted
Did you know you can use `URL.createObjectURL()` to create a preview of the file the user selected with an `<input type="file">`? Here's how this works in @VueJS : masteringjs.io/tutorials/vue… #VueJS #javascript #CodeNewbie
4
30
19
Mastering JS retweeted
Thanks @tailwindcss for making it possible to build this UI in under 10 mins Most of that was just scrolling through Tailwind UI picking what I liked #CodeNewbie #100DaysOfCode
1
1
2
130