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

πŸ”₯ Close multiple tabs in Firefox and Chrome by holding down Shift to select them, and then ⌘+W to close

πŸ”₯ Where is this repo on github? Find the corresponding git{hub,lab} repo to a folder with git remote -v

πŸ”₯

πŸ”₯Just learned about Intl.ListFormat from @mathias.

πŸ”₯ If you are in a react component where you destructure a prop and find yourself needing to see what other props are available, use an ...Object Rest to collect the rest of the props in a single object

πŸ”₯ JavaScript functions visualized

πŸ”₯ CSS variables can be set to other CSS variables. Also we will soon be able to tweak colours with colour functions in CSS directly.

Good for Canadians who can never remember which way to spell grey

πŸ”₯ When using JavaScript default function params, you can access other params from right inside the definition!

πŸ”₯ Use npm init --yes to skip all the questions and create a package.json

(I'll still just lean on the enter button until it's done, but enjoy the tip πŸ˜ƒ)

πŸ”₯ Canvas tip I just learned from @jake_albaugh. You can paint to a really small canvas to get quick+cheap colour processing and you can visualize it with canvas { image-rendering: pixelated; } 🀯 This is a 35x35 canvas