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 18 of 44
š„ TypeScript has a bunch of super handy commands for refactoring your codebase - made available in most editors
š„ Quickly add all properties to a typed object in TypeScript with the ts-quickfixes extension
Using machine learning to detect a hotdog with typescript
I turned every 4,100 Benjamin Moore paint colours into CSS variables.
Copy + Paste from https://bm.wesbos.com
Using web assembly with a c based library to detect the QR codes.
Iām able to interface via JS!
Typescript gas price converter
š„ This will save your butt: VS Code has a timeline feature that lets you revert and compare changes between git commits
š„ Depcheck will show you unused dependencies in your package.json
Handy for clean up after a big refactor
npm i -g depcheck
š„ Here is a neat one! Since arrays are objects, we can destructure their indexes to easily grab the first and last items.
š„ Use Intl.Collator() to easily sort or group strings regardless of their case or accent