Month: March 2018

I spent a couple of hours the other day comparing winston and pino logging for the server side code and finally choose winston as it is more popular in the…

Uncategorized

The curly braces in “import {xxxx} from ‘xxxx’” statement in ES6 is not suppose to deconstruct an object, although it looks like object deconstruction. It is only used for importing…

Uncategorized

Some time get confused for the jsx syntax especially for the conditional rendering, when it did happened, refers to below post: Conditional Rendering

Uncategorized

A very nice post talking about javascript error handling: https://www.joyent.com/node-js/production/design/errors Also a small wrapper library to make writing await async statement much cleaner without try and catch block : https://blog.grossman.io/how-to-write-async-await-without-try-catch-blocks-in-javascript/

Node.js

Uncategorized

React

Uncategorized

Uncategorized

Uncategorized