
Mastering JS
@mastering_js
Bite sized JavaScript tutorials for busy developers Follow us on Substack: http://masteringjs.substack.com
Może Ci się spodobać
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
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
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 Trendy
- 1. Rashford 32.1K posts
- 2. Fermin 53.7K posts
- 3. White House 125K posts
- 4. ChatGPT Atlas 6,152 posts
- 5. Crosby 5,352 posts
- 6. #pilotstwtselfieday 1,270 posts
- 7. Woody Johnson 1,529 posts
- 8. Lakers 33.1K posts
- 9. Olympiacos 40K posts
- 10. Kurt Suzuki 2,219 posts
- 11. Barca 66.8K posts
- 12. Lamine 27K posts
- 13. John Brennan 13.8K posts
- 14. NASA 64.6K posts
- 15. #ScarierThanHalloween N/A
- 16. #TrumpHatesOurHealthCare 4,729 posts
- 17. Barcelona 150K posts
- 18. Chrome 14.1K posts
- 19. Warriors 52.3K posts
- 20. #JUNGKOOKXCALVINKLEIN 61.8K posts
Something went wrong.
Something went wrong.