What causes it, and how to get over it

This article is going to be a little different from the ones that I usually write, and it touches on a topic that is very close to home.

I recently had this conversation with a friend, and he asked me a question:

Friend: “So, how does React Native works? How does one write Javascript and then magically turn that into Java and Objective-C?”

Me…


TLDR; interface is a way to describe data shapes, such as an object. Unlike an interface, type can introduce a name for any kind of type, including primitive, union, and intersection types.

What is an Interface?

An interface looks like this:

Above we have…


If you’ve used JavaScript, chances are you’ve come across it

If you’ve used JavaScript, chances are you’ve come across it something like this:

I’ve created an empty object, why is it that console.log shows a mysterious property __proto__?

Not a mystery

So it turns out, an empty object is more than the 2 curly braces that you see on the screen. Every single…


  • Schwartz’s research suggests something important; we can stretch our personalities, but only up to a point. Our inborn temperament influence us, regardless of the lives we lead.
  • Be patient. Respond to every call that excites your spirit. …


Wait I can receive free HP Laptops…?

So, you’re browsing your Facebook, and you just happen to come across a Facebook post that claims they’re giving away HP Laptops. And all you need to do is comment “HP” and you’re in! That was easy.

A couple of days passed and you start wondering where your laptop might…


Frameworks for better decision making

I’ll cut straight to the point for this one. Let’s talk about the 2 frameworks that I use to make good decisions (or rather, decisions that I won’t regret).

Second-order thinking

When do I use this?

When you’re struggling with a singular decision. For example: “Should I go to the gym today?” …


Why Some Of The Best Innovations Are Born During The Worst Of Times

“Hard times create strong men. Strong men create good times. Good times create weak men. And, weak men create hard times.”

- G. Michael Hopf, Those Who Remain

When you are stuck in the middle of a global pandemic, seeing the brighter side of things may come off as preachy…


…by using Lottie animations

What is Pull to Refresh?

I’ve always been fascinated by different UI interactions, and how something so unique and different, can be made so familiar and easy to use. A great example that is widely used today is pull-to-refresh.

This interaction can be found in almost every mobile app, but I guarantee you that 99.99%…


This tutorial is for the more experienced React developers. If you’re just looking to learn how to build a React app, there are tons and tons of tutorials available online!

Ok, so you’ve read tutorials, figured out how to set up a React project using create-react-app, learned how to install…


Animations can be used to tell the user a million things.

The types of animations boils down to 2 kinds: fire-and-forget animations and truly interactive animations. Most animations that we see today belongs to the first group. Fire-and-forget animation is exactly what it sounds like; an animation starts, and then…

Chan Jing Hong

Founder @ https://groftware.tech; 3x  WWDC Scholar; I enjoy 🤿,🛹,🎸,✍🏻; Always shipping something new on https://www.producthunt.com/@chanjinghong;

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store