
Mastering JS
@mastering_js
Bite sized JavaScript tutorials for busy developers Follow us on Substack: http://masteringjs.substack.com
Potrebbero piacerti
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
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
github.com
Release 8.7.1 · Automattic/mongoose
8.7.1 / 2024-10-09 fix: set flattenObjectIds to false when calling toObject() for internal purposes #14938 fix: add mongodb 8 to test matrix #14937 fix: handle buffers stored in MongoDB as EJSON r...
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 Tendenze
- 1. Good Tuesday 25.5K posts
- 2. White House 344K posts
- 3. Cobie 38.7K posts
- 4. #tuesdayvibe 1,572 posts
- 5. Sanae Takaichi 74.2K posts
- 6. Happy NBA 5,708 posts
- 7. WE ARE PROUD OF TAEHYUNG 33.5K posts
- 8. NBA IS BACK 10.2K posts
- 9. Texans 39.7K posts
- 10. East Wing 81.4K posts
- 11. Blue Jays 104K posts
- 12. WE LOVE YOU TAEHYUNG 38.6K posts
- 13. Gucci 26.8K posts
- 14. Curtis 41.2K posts
- 15. Diddy 21.8K posts
- 16. Joe Carter 3,346 posts
- 17. #ThunderUp N/A
- 18. Seahawks 38.7K posts
- 19. Pizza Hut 7,126 posts
- 20. Coinbase 52.7K posts
Something went wrong.
Something went wrong.