šŸ”„ 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.

šŸ”„ TypeScript has a bunch of super handy commands for refactoring your codebase - made available in most editors

5857418112
42592011K

šŸ”„ Quickly add all properties to a typed object in TypeScript with the ts-quickfixes extension

6577920146
2.8K984861K

Using machine learning to detect a hotdog with typescript

184555.3K

I turned every 4,100 Benjamin Moore paint colours into CSS variables.

Copy + Paste from https://bm.wesbos.com

5977825122
22412165.2K

Using web assembly with a c based library to detect the QR codes.

I’m able to interface via JS!

5396189.4K

Typescript gas price converter

132174.2K
1464103

šŸ”„ This will save your butt: VS Code has a timeline feature that lets you revert and compare changes between git commits

790
9421521586
323397.1K

šŸ”„ Depcheck will show you unused dependencies in your package.json

Handy for clean up after a big refactor

npm i -g depcheck
1.4K27819204
1624
4803089.1K

šŸ”„ Here is a neat one! Since arrays are objects, we can destructure their indexes to easily grab the first and last items.

3.5K94066345

šŸ”„ Use Intl.Collator() to easily sort or group strings regardless of their case or accent

503117640