View profile

All Things Typescript Newsletter - Issue #8

Maina Wycliffe
Maina Wycliffe
Good morning fellow Typescript developers; I hope you had a fantastic weekend. First, I am incredibly excited to announce that we have passed the 100 subscribers mark for this newsletter, and I would like to thank all of you for making this happen. I am aiming for the 200 subscribers mark, and I need your help and support; please share this newsletter with your friends and provide any feedback you have.
This week’s newsletter doesn’t have any challenges or Typescript tips. I was away on holiday last week, but we will be looking at Discriminated Unions in the next issue next week and how we can use them to write better Typescript types.

Top Articles
Tweets
Michael Hoffmann
💡 JavaScript Tip:

Get sum of an array with reduce. In 90% of the cases where I use reduce it is to create the sum of an array.

When do you use reduce? https://t.co/zw2rZOjERb
Builder.io
You can shrink your Google Fonts files with the “text” query param.

Super useful for quick and dirty logotypes! Thanks @TejasKumar_ for the tip. https://t.co/d6BFIuoehi
🥐 Code__Oz #IndieWebDev
💡 Javascript Tips 💡

⛔️ Don’t use the delete operator anymore, you can mutate the original object that can lead to bug (unpredictable behavior)

✅  But you can use the rest operator in order to create new object without the property

#100DaysOfCode #codenewbies https://t.co/gdiPB9gba7
Decoded Frontend (Dmytro Mezhenskyi)
Frontend Snack #7💡 Quick hint that shows the difference between "any" and "unknown" types in #typescript. Are you Angular Dev and looking for advanced videos? Visit my YouTube channel https://t.co/SKNyeL0Dv3

#angular #webdevelopment #frontenddev #js https://t.co/FglawhRatk
Michel Ruffieux 🇨🇭
What's the difference between #helper classes and #utility classes? Helpers is an instance that may contain a state while Utils have no state and may provide a list of static functions. ⬇️ #TypeScript #webdev #javascript https://t.co/foanmdbOqY
Atomicojs
📌Tips @atomicojs + #Typescript + #webcomponents, Atomico has the type Host with which you can declare methods and events created in the scope of your component https://t.co/LvA5YoLsKp
Did you enjoy this issue? Yes No
Maina Wycliffe
Maina Wycliffe @mwycliffe_dev

Hand-picked typescript and related content on a weekly basis to help you improve your skills and knowledge.

In order to unsubscribe, click here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.