Feb 24, 2019 (1 minute read)
You can have typesafe callAll utility in Typescript 3
Using Typescript Type Guard to Narrow Down Type
Nov 26, 2018 (1 minute read)
Using custom type guard allow us to create reusable checking that narrow down the type of a variable
Monitoring Government Website for Content Change
Oct 24, 2018 (2 minutes read)
My experience on developing a web-scraping application that will notify subscribers for any changes of a government website
Accessible HTML File Input
Sep 26, 2018 (1 minute read)
By being more thoughtful, we can have a file input that is beautiful but still accessible.
My First Tech Talk: Render Props & Higher Order Components
Aug 20, 2018 (1 minute read)
A note on my first technical talk on React. I find the act of preparing and delivering the talk satisfying.
How to bargain in marketplace like a tactful auntie
Jun 24, 2018 (3 minutes read)
To bargain successfully in marketplace, make abrupt concession and threaten to flip-table effectively.
How to say no to friends and family that want to borrow money
Jun 23, 2018 (3 minutes read)
When friends/family want to borrow money from you, instead of asking how much they want to borrow first, ask why they want to borrow, and respond accordingly.
React Patterns: Container-Presenter
Jun 17, 2018 (1 minute read)
There are a few design patterns of React component, and the easiest one is the Component-Presenter pattern, which is actually to separate mapping/states/transformation from the rendered content
Jun 16, 2018 (1 minute read)
May 27, 2018 (1 minute read)