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 11 of 26
🔥 Pass values along your promise chain by resolving them with Promise.all()
🔥 14 Chrome Dev Tools Tricks
🔥 Safari will fire a submit event even if a form is invalid. Use .checkValidity() to stop submission if required inputs aren't satisfied.
🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works:
🔥 Use console.groupCollapsed() and console.groupEnd() to group together and tuck away any logging you need to do
console.groupCollapsed()
console.groupEnd()
🔥 Use console.table() to log an array of objects in a tidy table 👌
🔥 Use flexbox's order property to re-order pieces of your nav at different breakpoints 👌
🔥 Use console.dir(el) to see an element's properties + prototype instead of the element itself
🔥 Skip Youtube pre-roll ads with: $('video').currentTime = $('video').duration
🔥 Use ES6 destructuring to convert an array argument into variables when you define your function