Hello there,
Merry new month and a new week š I trust your weekend was great. Hereās todayās piece:
What I did last week š
I gave my first online talk at TypeScript Berlin on TypeScript vs PropTypes. In the talk, I explained their similarities and their unique differences. Here are the slides and the video (mine started from 52:00):
During the weekend, I created a video on How to implement Conditional Props in React TypeScript:
In this video, I explain how to specify component props conditionally when a condition is met. If you find it helpful, kindly like, subscribe and share.
I updated the contents page on my website. Currently working on a search feature. Should be out before the weekend.
dillion+test@gmail.com: A very handy hack I learned last week. Using the + sign, this may look like a new email address, but it is and isnāt. It isnāt because all emails will go to dillion@gmail.com, but it is because, depending on your email manager, you can use this +test email to act as a sub-email under dillion@gmail.com. This tool is very handy when youāre working on an app in development, and you do not want to signup with different emails. More info from Google.
Featured Articles āļø
Grep Command Tutorial ā How to Search for a File in Linux and Unix with Recursive Find: Here, I explain the grep command and how you can use it to search for a file.
How to discover a bug using git bisect: In this article, Flavio shows how to strategically discover a bug using git bisect to move between commits.
Cookies vs localStorage vs sessionStorage: In this article, I highlight the similarities and differences between these three storage tools in the browser.
Featured Tools š
Buffer: a social media tool for managing posts and engagements on posts. With the free plan, you can schedule ten different posts on the platforms they support. I personally use this for scheduling some of my tweets.
classnames: a library for conditionally joining classNames in JavaScript applications. This will reduce the ternary way you may be going about conditional classes.
REST client VSCode Extension: This extension allows you to make HTTP requests right in your VSCode app. Think of it as a small PostMan in your code editor.
Random š
{JSON} Placeholder is a free fake API that you can use to test your application.
Last week, I said I was going to prefix my newsletters with DMN. I later realized I missed the abbreviation for āWeeklyā, so Iād be changing it to DMWN insteadāDillion Megidaās Weekly Newsletters. Again, if you find my content helpful, kindly subscribe and share it with your friends.
Some helpful and inspiring tweets from Didicodes that I came across:
I said this last week and Iām saying it again, always prioritize CONSISTENCY š Iāve gotten to believe that you can learn anything as long as youāre consistent with reading, watching videos, going over resources, and actively practicing on that thing āØ
Do have a splendid week š
[DMWN #4] - Learn how to conditionally specify props in React using TypeScript in this video
Keep it up bro šš¾