Blog by Eric

Senior Software Engineer, frontend, TypeScript, React, Vue, Flutter, Machine Learning, loves reading, love to travel, trying hiking

We spent six days on this GSAP resize bug

How we ensured good user experience by keeping good GSAP animations even after resizing

Posted June 26, 2024

Vitest runs Unit Tests 50% Faster

Migrating from Jest to Vitest allows our pull requests to merge and deploy faster

Posted October 5, 2023

Next.js Localhost https Setup

Easily and quickly set up https for your local development.

Posted August 18, 2023

XState 101 - Quick Introduction to Finite State Machine

Explore finite state machine and learn what XState is. Also see whether we adopt this or not.

Posted April 12, 2023

Use SWC to Improve Your Build Speed by 30%

Use SWC to make your app build faster by 30%

Posted November 7, 2022

Differences between React and Vue

Here are some syntax differences between the two popular frontend frameworks

Posted October 24, 2022

Common Frontend Interview Questions I have been Asked

Here are some of the frontend interview questions I have been asked by top tech companies

Posted October 13, 2022

What are Software Engineers Interviews

What are software engineers interviews like?

Posted April 16, 2022

Being a Senior-plus Engineer

What does a Senior-plus Engineer do and how do you get that title

Posted February 25, 2022

State Management without Vuex

Exploring the possibility of using only Composition API to manage all of our states

Posted December 11, 2021

How to define a default value for function in JavaScript

Here is the ultimate guide to set a default value in your function without writing too much code that people can read

Posted January 26, 2021

Why do we need to write tests

Tests are boring why do we need to write them

Posted January 19, 2021

How to write tests for Vue

Start writing tests today for your Vue application with this guide

Posted January 12, 2021

How do I write tests for my JS app

The post you need to start writing tests for your JavaScript

Posted January 5, 2021

Debugging Apollo Cache

The observation from implementing caching in Apollo

Posted November 12, 2020

Working with Vue and Apollo GraphQL

Let's see GraphQL in action in your Vue app

Posted September 11, 2020

Moving to GraphQL

Here is our starting point to the new architecture

Posted July 19, 2020

How I Debug Poor Performance - Network

Here is how you can debug for poor performance by looking at network infomation

Posted July 4, 2020

How Not to Slow Your Vue App

Here are some tips that you can do to NOT slow down your Vue app

Posted May 23, 2020

Getting Started with Vue 3

Getting started with Vue 3 with Vuex and Vue Router

Posted April 19, 2020

Firebase Functions Image Resizing

Automatically resize your image on Firebase to generate thumbnail

Posted April 18, 2020

Flutter libraries I cannot live without

These libraries have made my Flutter developer experience more delightful

Posted March 31, 2020

Flutter for Frontend Engineer

Flutter is easy to pick up especially for frontend engineer who wants to quickly starts a project

Posted January 2, 2020

Vue 3 and Composition API

See what is new in Vue 3 and how Composition API can better organize your code

Posted December 2, 2019

Serving Modern and Legacy Bundle

Serving the right amount of JavaScripts to different browsers to improve performance

Posted October 20, 2019

Serving Image at the Right Time

Serving beautiful image at the right time is crucial to the overall user experience

Posted August 30, 2019

Webpack Finally Lazy Load

Six-month frustration with Webpack code splitting and lazy loading fixed in one article.

Posted July 14, 2019

Assumptions you shouldn't make as a developer

You should not make assumptions when working with one another or when writing codes

Posted May 11, 2019

Journey to Creating a Long List

Make your long list to work efficiently and not crush people’s phones.

Posted October 13, 2018

Ways of Adding DOM with JavaScript

I am not really sure how many people would like such article on different ways of adding or inserting HTML without the use of framework as…

Posted December 31, 2017

Six-Month Job Hunting Journal

There were many articles I read that kept saying one should start looking for jobs sooner rather than later in the senior year. Looking to…

Posted September 24, 2017

Nodejs With Firebase Storage

Here’s a way for you to upload files to Firebase Storage from your Nodejs server

Posted June 6, 2017

My personal web dev journey

I think I chose a wrong major in university

Posted January 24, 2017

What have I gained in 2016?

Time to do a performance review for myself

Posted January 5, 2017

Making angular project production-ready with gulp

Recently, I had a chance to make some adjustments to the file structure for the project I worked on in the company. There wasn’t any source…

Posted August 24, 2016

Things I learned from being an intern

Posted June 13, 2016