Webpack 4 bundle sizes

TL;DR: Analyze your Webpack bundles and tweak the default settings to achieve your performance goals. The default webpack settings are great but you can squeeze more out of it if need be. Earlier this week I got curious and started looking at our app bundles. A week or so ago we upgraded Webpack to version 4 and I was wondering if our production performance is similar or better to Webpack v3, and was surprised that our entry point bundle is bigger in v4 than in v3!

Continue Reading »

Why use local component registrations in Vue?

Being new to Vuejs, I started registering my components globally so they are easily available to other components. That’s what componentization is for, right? It turns out that in most cases that I’ve experienced, components are better off being registered locally. There are a couple of reasons why you want to register them locally: They, and the parent components that are using them, become more testable. Explicit dependency makes bundling more efficient.

Continue Reading »

Firefox Focus

I’ve been using Firefox Focus in the last few months. It’s a great product with ad-blocking and incognito-mode out-of-the-box, and this works perfectly if you’re someone who opens an article and reads them straightaway. But these past couple of weeks, and ever since this year started, I’ve modified my workflow to be more productive (e.g. batching my social media time which means I also have to batch articles opened through social media).

Continue Reading »

Web Directions Summit 2017 Notes

Last week I attended the Web Directions Summit in Sydney. There were surprisingly a lot more good talks and brilliant speakers compared to previous years (thank God). Below is a rundown of what I’ve learned during those two days attending the conf: Web performance engineering is not just for our users, it’s also for us as we age and our focus and patience decreases over time. Conversational UX through bots and voice is and will be the next killer features for apps.

Continue Reading »

Health / Living

Experiencing a chronic health issue can make one question their life, their choices, and what’s truly important in their day-to-day living. Nothing else matters when you’re sick but to get better and to get better as soon as possible. And when pondering about the future, nothing else matters but to live happily and to live longer. That’s essentially how I felt in the first half (or so) of this year. Not knowing the cause of my symptoms, and also not having a good* GP at that time didn’t help.

Continue Reading »