🔥 There are 456 Hot Tips!!

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.

🔥 Sublime HyperClick lets you open ES6 + CommonJS modules right from their import statement

410149140

🔥 How to destructure and rename variables in a single shot

34820

🔥 Setting Default Values with JavaScript’s Destructuring

👉

331800

🔥 Wrap curly brackets around your console.log arguments to see the variable name and value when logged.

This[ab]uses JavaScript’s object shorthand

68913K
1.6K394227K
2.4K1.3K3618

🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax

2.4K1.3K3618

🔥 Four new JavaScript String methods you should know about: .startsWith(), .endsWith(), .includes() and .repeat()

21610890

🔥 Figure out which part of your JS is applying inline styles / classes with a "break on attribute modifications" breakpoint in dev tools

28913150

🔥 Handy: use ES6 destructuring to get and rename values on an event or window object

1354140

🔥 CSS case insensitive attribute selectors are coming! Part of Selectors Level 4.

1314940

🔥 Another great use case for Flexbox is when you want a label to span "the rest" of the width beside an input without knowing widths

1825530