🔥 There are 433 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.

Here is how these multi-browser demos are being made. It's not websockets!

2.9K358371.7K508K
1.6K68
2.6K1885545K

Unreal.

This is not the first time I've said that this week.

AI writing Tailwind + JS given a quick sketch

1.5K16846992448K
39824

🔥 The stale-while-revalidate header is suuuuuuper handy for striking a balance between fast loads and and frequently changed content.

Here I am using it to instantly deliver an OG image that takes ~8s to generate.

1451546125K
1212

Node.js finally has support for loading .env files! You’ll no longer need the dotenv package

Dropped in 20.6.0

Also supports passing runtime flags like —inspect and —watch

2.4K1357257K
2.9K87
5.1K819127595543K
1055122

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
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

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
34110
235385.7K
  1. Server-full Servers
  2. Serverless Functions
  3. Edge Functions

Three kinds of servers - whats the difference?

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