
Mastering JS
@mastering_js
Bite sized JavaScript tutorials for busy developers Follow us on Substack: http://masteringjs.substack.com
내가 좋아할 만한 콘텐츠
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
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 트렌드
- 1. No Kings 974K posts
- 2. Carnell Tate 5,537 posts
- 3. Brian Kelly 7,270 posts
- 4. Vandy 12.5K posts
- 5. #UFCVancouver 7,848 posts
- 6. Ole Miss 9,387 posts
- 7. Vanderbilt 10.3K posts
- 8. Diego Pavia 4,195 posts
- 9. Beamer 3,488 posts
- 10. Tony Vitello 3,452 posts
- 11. Dork Cult Protest Day 48.1K posts
- 12. Clark Lea 1,239 posts
- 13. Julian Sayin 1,492 posts
- 14. Hammond 2,258 posts
- 15. Sorokin N/A
- 16. Constitutional Republic 20K posts
- 17. Gunner 4,896 posts
- 18. South Carolina 11.4K posts
- 19. Shula 2,894 posts
- 20. Shapen N/A
Something went wrong.
Something went wrong.