Testing npm package’s lifecycle changes
My approaches on testing out local changes during various stages of a package's lifecycle: building, installing, publishing and so on.
Render and inject Pug templates inside React
A common problem when migrating a legacy web app written in pug (jade) into React. How to make pug play nice with React's isomorphic rendering nature?
CSS: thicker border on hover
Changing the border width on hover will normally cause the element to move and affect the surrounding layout. Let's take a look at a few CSS solutions.
Busting the cult of File Size Obsession
A trend has been gaining traction among open-source JavaScript libraries: the obsession over who has the smallest file size. However, this is an outdated problem and we should focus on clarity instead.