View profile

[DMWN #4] - Learn how to conditionally specify props in React using TypeScript in this video

Dillion Megida
Dillion Megida
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 😇
  1. 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):
  2. 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.
  3. I updated the contents page on my website. Currently working on a search feature. Should be out before the weekend.
  4. 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, but it is because, depending on your email manager, you can use this +test email to act as a sub-email under 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 ✍️
  1. 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.
  2. 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.
  3. Cookies vs localStorage vs sessionStorage: In this article, I highlight the similarities and differences between these three storage tools in the browser.
Featured Tools 🛠
  1. 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.
  2. classnames: a library for conditionally joining classNames in JavaScript applications. This will reduce the ternary way you may be going about conditional classes.
  3. 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 🔄
  1. {JSON} Placeholder is a free fake API that you can use to test your application.
  2. 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.
  3. 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 🌟
Did you enjoy this issue? Yes No
Dillion Megida
Dillion Megida @iamdillion

A weekly newsletter where I share things around Tech, Career and Life

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.