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 27 of 44
π₯ The difference between Array.of() and Array.from()
π₯ Turn on full keyboard access to control dialog boxes with your keyboard. Tab to move, space to select
π₯ Flexbox Tip: A dummy element set to flex-grow: 1; will take up any remaining space after sibling elements take up their natual size
π₯ Super happy to announce Purchasing Power Parity for my courses.
π₯ Object Spread is coming soon to a JS runtime near you! Handy for creating shallow copies of an object without Object.assign()
π₯ You can destructure anything that returns an array, like when you split a string!
π₯ Use git checkout - to quickly jump back to your last git branch
git checkout -
π₯ Rename and Destructure properties of a return object with ES6 destructuring
π₯ You can disable an entire form or groups of inputs by wrapping in a <fieldset> and applying the disabled attr
π₯ Forms and inputs are available via properies on document.forms. You might not need a selector π