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 28 of 46
π₯ Async functions can chain a .catch() to catch any errors without a try/catch
π₯ The new IntersectionObserver browser API will allow us to easily detect when elements on fully or partially on screen.
π₯ Node 8.6.0 brings support for Object Spread! Goodbye Object.assign()
π₯ On a website with an obnoxious and slow slideslow animation? Make it instant by running $.fx.off = true; in your console
π₯ VS @code has a built in diffing tool you can run from the command line with --diff
π₯ video.play() returns a Promise which means you can async + await before updating any UI. πͺπ» @rem
π₯ Auto Rename Tag for VS Code does, well, exactly what it says. No keyboard shortcut, just rename one tag and the other updates!
π₯ JavaScript Fundamentals Video: Reference VS Copy
π₯ Import Cost package for VS Code will help you understand the impact of a package as you import it
π₯ Get VS Code Emmet working in JSX with this setting:
"emmet.includeLanguages": { "javascript": "javascriptreact", }
Who Decides What Ships on the Web?