πŸ”₯ There are 446 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.

πŸ”₯ 3 neat things you can do with Array destructuring in JavaScript

96512315244
776151615K

I got banned from LinkedIn for writing JS πŸ˜†

7.1K674195814
16K374178305K

πŸ”₯ Stop using rm -rf to delete files on your computer.

Use trash instead

2.2K27487338
1.3K3311331K

πŸ”₯ Make a webcam photobooth app in about 15 lines of JavaScript

698121018K
82310613294

πŸ”₯ Format relative time amounts - like "2 seconds ago" - with the JS Intl.RelativeTimeFormat() API

1.4K544225K
1.4K19726424

πŸ”₯ Use TypeScript's never to enforce "one or the other" properties on a type

1K10220202
6.7K185116125K

πŸ”₯ Emojis like πŸ‘¨β€πŸ‘§β€πŸ‘¦ and πŸŽ…πŸΏ are actually made up of multiple emojis and a special character called a β€œZero Width Joiner”

12K565115152K
2.2K27418251

πŸ”₯ Weird one: Any HTML element can be visible and editable with display:block; and contenteditable - including style tags!

14K2.1K1502.8K
81K4.1K435729K

πŸ”₯ You don't need a library to format money in JavaScript!

Use Intl.NumberFormat() to format all currencies and locales around the world.

1.6K24319395
1.6K412727K

πŸ”₯ TypeScript's never is great for making sure you hit every scenario when coding an if/else or switch statement

1.7K17738293
3.5K1047081K