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 7 of 44
Maaaaan, React 19 is packed with goodies!
Here are 5 new things
The use() API for promises, the new context API, and the <head> tag hoisting are very welcome additions!
use()
context
<head>
Love to see Node kickin' ass like this. Node 22:
→ makes importing ESM into CJS files just work
→ added native file globbing
→ Introduces a task runner
Thank you, Bun?
CSS "Logical Properties"
margin-block, padding-inline and border-block-end
margin-block
padding-inline
border-block-end
Are they really that useful if you aren't working on websites in different languages?
Should you just stick with top, bottom, left and right?
Man this Bun API is so good.
🔥 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