πŸ”₯ There are 255 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.

πŸ”₯ Use console.dir() to see the properties of an element when console.log() gives you a DOM element

πŸ”₯ Quit find-and-replacing in your code! VS Code's Rename Symbol is the best way to mass-rename things things like classes, variables and selectors.

πŸ”₯ CSS Grid and Flexbox require a direct parent child relationship to work. With React 16.2 we can use <Fragment></Fragment> to return top level siblings from a Component. No more returning wrapper divs!

πŸ”₯ If you have a noisy console or network tab, you can usually filter those things out

πŸ”₯ 4 Ways to handle the double promise with fetch() and async+await

πŸ”₯ @jensimmons just launched a new YouTube channel called Layout Land - first video is on CSS Grid! Make sure you subscribe!

πŸ”₯ Use curly brackets in the command line to cut down on typing the same thing over and over

πŸ”₯ CSS Variables are perfect for overwriting parts of a definition that can’t be broken up like text-shadows, transforms or gradients

πŸ”₯ VS Code now has a shrinking tabs option - no more scrolling for your tabs!

"workbench.editor.tabSizing": "shrink"

πŸ”₯ With CSS variables, you can overwrite values when authoring HTML with an inline style attribute