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 16 of 26
🔥 If you have dropped IE8, you can move to using the Date.now() static method to get timestamps.
🔥 You can use ES6 destructuring inside of Jade/Pug templates too!
🔥 Use ES6 destructuring to pull Promise.all() data into their own variables.
🔥 Use ⌘ + Shift + V to paste and strip formatting + indentation. Works everywhere!
🔥 In CSS you can set multiple backgrounds each with their own size property
🔥 Object.freeze() vs Object.seal()
🔥 You can format currency with .toLocaleString()
🔥 ESLint Plugins to lint JavaScript inside of HTML <script> tags or markdown code blocks
🔥 Public APIs: a community curated list of over 200 open + free JSON APIs.
🔥 Reminder: Flexbox treats flex-container :before and :after as first class flex-items. They can really goof up alignment + centering