
Mastering JS
@mastering_js
Bite sized JavaScript tutorials for busy developers Follow us on Substack: http://masteringjs.substack.com
Bạn có thể thích
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/mon… #NodeJS #MongoDB #JavaScript
github.com
Release 8.7.2 · Automattic/mongoose
8.7.2 / 2024-10-17 fix(document): recursively clear modified subpaths when setting deeply nested subdoc to null #14963 #14952 fix(populate): handle array of ids with parent refPath #14965 types: m...
Mongoose 8.7.1 released 🛠️ Set flattenObjectIds to false when calling toObject() for internal purposes 🛠️ Add mongodb 8 to test matrix github.com/Automattic/mon… #NodeJS #MongoDB
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
How We Think About Securing Express.js APIs in 2024 dev.to/masteringjs/ho… #NodeJS #CodeNewbie
dev.to
How We Think About Securing Express.js APIs in 2024
Securing your Express.js API involves a lot of tradeoffs. Do you use cookies or authorization header,...
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

🆕 How to Set Response Headers in Express masteringjs.io/tutorials/expr… #JavaScript #CodeNewbie
🆕 Set Whether a Checkbox is Checked in Vue masteringjs.io/tutorials/vue/… #JavaScript #VueJS #CodeNewbie
We just enabled @GitHub sponsors for Mastering JS, check it out! github.com/sponsors/maste… #DevCommunity #JavaScript #100DaysOfCode
🆕 Convert Pug to HTML masteringjs.io/tutorials/node… #JavaScript #CodeNewbie #NodeJS
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/fund… #JavaScript #CodeNewbie
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/fund… #javascript #CodeNewbie

We find ourselves going back to this tutorial EVERY SINGLE TIME we add Webpack to a new project. masteringjs.io/tutorials/webp… If only we could find a way to memorize Webpack configs 😆 Or maybe just write a CLI tool? 🤔 #CodeNewbie #100DaysOfCode
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

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

🌟 How to Get Distinct Values in a JavaScript Array 🌟 masteringjs.io/tutorials/fund… #JavaScript #CodeNewbie
United States Xu hướng
- 1. Ange 41.7K posts
- 2. No Kings 445K posts
- 3. Chelsea 131K posts
- 4. Good Saturday 31.6K posts
- 5. Forest 112K posts
- 6. Reece James 13.9K posts
- 7. #Caturday 3,474 posts
- 8. Nuno 7,020 posts
- 9. #NFOCHE 31.1K posts
- 10. #SaturdayVibes 4,266 posts
- 11. Game Day 11.9K posts
- 12. Neto 30.5K posts
- 13. Garnacho 19.7K posts
- 14. Emiru 14.2K posts
- 15. Marinakis 4,433 posts
- 16. Massie 42.2K posts
- 17. Chalobah 5,822 posts
- 18. Malo Gusto 3,480 posts
- 19. Acheampong 19.8K posts
- 20. #NFFC 6,634 posts
Something went wrong.
Something went wrong.