avatar

Coderek's blog

Live a more efficient life
Posts tagged with

Tree shaking Tree shaking is a term commonly used in the JavaScript context for dead-code elimination. It relies on the static structure of ES2015 module syntax, i.e. import and export. The name and…

Read more ››

Service Worker has been around for a while. As of now, Edge, Firefox, Safari and Chrome all have 100% support of service worker features1. So it's good time to add it to my website. The biggest use c…

Read more ››

One task I finished recently was to optimize the loading time of table of content(ToC). ToC is the most important API we are using. Currently, it loads the entire table of content before the initiali…

Read more ››