Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.
Page 32 of 45
🔥 JavaScript Coding Challenge!
Filter this list of homes for the ones that match the list of needs.
🔥 Git Tip: Use git add -p to review and add changes hunk-by-hunk. Handy when you want to break a single file's changes into two commits
git add -p
🔥 Text Pastry + Sublime Multiple Cursors is one of my favourite combos
🔥 Sublime HyperClick lets you open ES6 + CommonJS modules right from their import statement
🔥 How to destructure and rename variables in a single shot
🔥 Setting Default Values with JavaScript’s Destructuring
👉
🔥 Wrap curly brackets around your console.log arguments to see the variable name and value when logged.
This[ab]uses JavaScript’s object shorthand
🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax
🔥 Four new JavaScript String methods you should know about: .startsWith(), .endsWith(), .includes() and .repeat()
🔥 Figure out which part of your JS is applying inline styles / classes with a "break on attribute modifications" breakpoint in dev tools
Does Code Quality Matter Anymore?