Tan Li Hau
Tan Li Hau

Tan Li Hau

Frontend Developer at Shopee

I contribute to open source, blog and answer questions about JavaScript. If you find me interesting, you can connect with me via LinkedIn.

How to get started in contributing to open source

June 05, 2019

Debugging Web Workers

May 22, 2019

...for Chrome, Firefox and Safari

Parsing error when calling generic function with type arguments

April 23, 2019


Errors encountered upgrading Flow v0.85

April 22, 2019

and how we solved them

CSS Code Splitting

March 27, 2019 talk

The motivation of CSS splitting arises when we try to split our CSS styles and lazily load the styles only when we actually need them. CSS code splitting is one of our many efforts where we constantly improve the performance of the application.

Who accessed my property?

March 24, 2019

How to know when object property get accessed or modified

Understand the frontend tools

March 16, 2019

About the tools frontend developer used in 2019

Codemod with babel

March 13, 2019

A template which I used

My eslint doesn’t work with for flow 0.85’s explicit type argument syntax

January 17, 2019

and how I figured out why.

The `ascii_only` option in uglify-js

October 27, 2018

that get my emoji showing in my chrome extension

Dead-code elimination

October 24, 2018

How to hint uglify-js that your function is pure

Took me hours to realise why docker build ignores my .dockerignore

November 26, 2017

...and this is what I've learned

Dynamically load reducers for code splitting in a React Redux application

November 16, 2017

How to inject reducer asynchronously

Random stuff that I’ve learned from a browser’s developer console

April 20, 2016

I opened up my browser’s developer console for no reason, and I found this

5 Steps to build NodeJS using Travis CI

April 13, 2016

Setting up Travis CI for your NodeJS Github repo!