Some updates
Hello, I hope you and your family are doing great!
I was recently re-reading The Alchemist by Paolo Coelho, one of my favorite books, and one of its passages stuck with me.
“When you find your path, you must not be afraid. You need to have sufficient courage to make mistakes. Disappointment, defeat, and despair are the tools God uses to show us the way.”
Remember this quote when things are tough.
Tip of the week
In TypeScript, there could be many scenarios where a developer might want to pause or sleep a function's execution for a specific time.
That is when you can implement a sleep helper function like this:
This function used to be hard to implement, but nowadays, promises make it very simple.
Cool right?
Article of the week
For today's article, we will revise the boolean data type in TypeScript. We will learn the difference Boolean and boolean. We will also revise truthy and falsy values.
Find out more by reading this article.
Blog update
I am slowly re-tagging all my articles so users can find related articles more easily. Apart from this, no other blog updates. Boring, I know.
YouTube update
My latest YouTube video is out. It explains how to export a function in React. Check it out here.
Thank you for reading.
See you next week!
Tim M.