Mastering JS
@mastering_js
Bite sized JavaScript tutorials for busy developers Follow us on Substack: http://masteringjs.substack.com
Was dir gefallen könnte
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 Trends
- 1. Canada 332K posts
- 2. Reagan 119K posts
- 3. #PoetryInMotionLeeKnow 35K posts
- 4. #FanCashDropPromotion N/A
- 5. Immigration 155K posts
- 6. #FridayVibes 5,586 posts
- 7. Good Friday 69.3K posts
- 8. #askdave N/A
- 9. #FursuitFriday 12.3K posts
- 10. U-Haul 10.5K posts
- 11. Cyrene 28.1K posts
- 12. Happy Friyay 1,765 posts
- 13. Inflation 107K posts
- 14. Halle 24.1K posts
- 15. DeAndre Jordan N/A
- 16. Tren de Aragua 19.7K posts
- 17. Leon Thomas 6,197 posts
- 18. Pritzker 102K posts
- 19. Oval Office 22K posts
- 20. New Edition 7,384 posts
Something went wrong.
Something went wrong.