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 22 of 26
π₯ Use an ES6 Spread to quickly convert a NodeList to a real Array.
π₯ Keep a tidy console β group together console data with and console.groupEnd()
π₯You can style ALT text on broken or blocked images. Handy for HTML emails.
π₯ Easily swap two JavaScript Variables with ES6 Destructuring
π₯ Bracketless ES6 arrow functions allow for clean, single line functions without an explicit return
π₯ ncu checks for npm module updates and will update your package.json for you.
t.co/r4Pks4gryG
π₯ Pipe your Emmet shortcuts into |bem to automatically get Block, Element, Modifier markup!
π₯Quickly change the case of a string in Sublime Text. Handy when you are using file names in descriptions:
π₯ Say goodbye to indexOf() and use ES7 .includes() to check if an item is inside an array
π₯ Pick + choose which variables get created from a returned object with ES6 destructing