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 34 of 44
🔥 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
🔥 CSS4 might be getting selectors for drag + drop items
🔥 You can run JS right inside of ES6 Template strings. Handy for ternary operators: