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.
Modded my Bose QC35 Headphones for a USB-C port with the QC45 charging board.
1441189K
2644146227K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
React on a roomba robot vacuum achieved! Used an esp32 and react to drive my roomba.
496472018K
1.1K31
2.7K17787855391K
1.5K629125
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
TikTok - or byte dance - just forked VS code and launched their own AI code editor to compete with cursor and windsurf
1.8K2477644K
28514
9269642632105K
871133
You should be using JavaScript sets more often
Now in all browsers and Node - these 7 new set methods are key for when trying to compare two arrays or sets of data.
1.6K5514912
2.1K213411.3K112K
486231717K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
JavaScript roomba now sucks both ways
Figured out the motor controller Byte. First time I've had to write binary 1s and 0s in React.
1K3840273112K
1.5K62626
81935.2K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
Controlling a roomba with JavaScript
Wrote the code to control it in the browser via Web Serial API, or on the server with serialport
1.5K8787288103K
37761149
36925
539533117K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
This is a must have editor setting . Here is how I get those coloured indentation / bracket pairs in my editor.
1K762998488K
539601616K
43121
1671590
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
I needed some data from social sites, but they don't provide an API
Here is how I scrape data from websites that don't provide an API by (ab)using the page rehydration object
64614
1.6K106171.9K89K
2.4K1376845K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
Tanstack Start doing doing server calls a bit different than React Server Components.
You can write the client and server logic in the same file and it replaces it with fetch calls when run on the client.
No "use client", no errors around using client APIs in server components
717372434368K
44518
4391212K
2548127.5K
Quality
Quality
PlayPause
0:00 / 0:00MuteUnmute
1x
Playback rate
Settings
I keep importing the wrong thing in VS Code!
Pop an autoImportFileExcludePatterns in your settings file
Super helpful for Radix UI, Drizzle DB adapters, and node:test