🔥 There are 449 Hot Tips!!

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.

JavaScript Maps are super underrated.

Keys of a map can be anything - including an object!

Here I'm using the new groupBy proposed API to group array items into a Map or an Object →

2K25624699240K
34812
54615K
3007109K

The JavaScript dev dives into a hardware project

96053.5K
2521364646K

Are we gonna have the IE6 all over again?

If my math is correct, there are more Server JS runtimes than browser JS runtimes!

Good idea, or no?

1231381326K
244266.9K

Did you know TypeScript <Generics> don't always need to be explicitly set?

You can infer their types by the type of data being passed! Super powerful approach when writing library or util code.

317381010158K
45812K
34110
235385.7K
  1. Server-full Servers
  2. Serverless Functions
  3. Edge Functions

Three kinds of servers - whats the difference?

54461816K
56816K

The $10 LED tinkerer project:

I got my $5 ESP32 turning off a $4 set of WS2813 LEDs with a $1 PIR sensor

Inspired after having Nick Hehr on the Podcast, where he goes in depth about his projects and even how to get JavaScript running on the microcontroller.

43132214K
47022.4K
29812K

CSS is getting margin-trim!

Remove margins from children that touch the sides of a parent. No more selecting :last-child

5K3529884K
2.2K33332437316K
1.3K33

Here’s a rundown of the open AI podcast show notes stuff I’ve been working on for the new syntax website.

106572.8K

Stop typing twice!

Here is how to collected multiple named exports and import them under a single JavaScript variable in ESM

469131512K
55115K
1524
1221353624K

CSS logical properties specifies width/height/padding/border/etc using inline + block instead of top + bottom.

But where is that actually useful?

Here is a good example I just ran into with writing-mode: vertical-rl;;

9715113725K
24651313K
46513K