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.
π₯ Hereβs what the new TypeScript 4.9 Satisfies Operator is for
2619106.1K
953
53571812476K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
π₯ CSS Container Queries allow us to style elements based on their containers size. Drops in Firefox Feb 14th, and then all browsers will have support!
49159610367K
1255
1.2K992420K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
π₯ CLI tip: Get a list of files with ESLint issues and open in VS Code
Pipe eslint β grep β xargs code.
Also handy for opening all files with merge conflicts
35911137.4K
614
1672164233K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
π₯ Terminal Tip: Suspend or Background processes to temporarily get access to your prompt.
Handy if you need to quickly npm install something, but your server is already running.
44960109665K
610221813K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
π₯ Did you know Node.js has an async readline package built in?
Super handy for prompting your user for things like tokens or filenames.
Quick example:
462
2132136040K
220386.3K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
π₯ Fixing Twitterβs border-radius problem.
Get perfect border radius with: outerRadius = innerRadius + spaceBetween