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 9 of 45
🔥 Here are 4 more ways you can use JavaScript's new Promise.withResolvers() method.
Promise.withResolvers()
Use it today. It's in every browser and can be polyfilled in 9 lines.
🔥 Node just keeps on dropping new goodies!
The styleText util gives us styled logs without a package like Colors or Chalk
styleText
Do we even need tabs? Quick video summarizing how to move around your VS Code without tabs.
I'm gonna try it.
I am so happy this is being implemented.
If every tab being named page in Next.js/Sveltekit folder based routing makes you go loopy, this new VS Code feature is going to be a life saver!
page
I can't believe you can do this in JavaScript! In the browser. With local AI models. 🤯
Raw dog your CSS selectors with @scope
@scope
AI based emotion detection for video thunbnails
Running Promises concurrently - but not too many at once!
p-map is a nice balance between Promise.all() and sequential await when working with compute heavy functions.
p-map
Promise.all()
Love the use of mix-blend-mode: difference; on the site logo for this striped t-shirt
I did it! Gutted an old iPad 3, and stuck a $20 driver board to turn the high resolution display into an external monitor. Pretty fun project!
How to Make a DOM Library Render Anything w/ Paolo Ricciuti