Blog by Eric
Senior Software Engineer, frontend, TypeScript, React, Vue, Flutter, Machine Learning, loves reading, love to travel, trying hiking
Standalone Next.js with Custom Server
Adding a custom server to run a standalone Next.js app
Posted November 10, 2024We 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, 2024Vitest runs Unit Tests 50% Faster
Migrating from Jest to Vitest allows our pull requests to merge and deploy faster
Posted October 5, 2023Next.js Localhost https Setup
Easily and quickly set up https for your local development.
Posted August 18, 2023XState 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, 2023Use SWC to Improve Your Build Speed by 30%
Use SWC to make your app build faster by 30%
Posted November 7, 2022Differences between React and Vue
Here are some syntax differences between the two popular frontend frameworks
Posted October 24, 2022Common 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, 2022What are Software Engineers Interviews
What are software engineers interviews like?
Posted April 16, 2022Being a Senior-plus Engineer
What does a Senior-plus Engineer do and how do you get that title
Posted February 25, 2022State Management without Vuex
Exploring the possibility of using only Composition API to manage all of our states
Posted December 11, 2021How 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, 2021Why do we need to write tests
Tests are boring why do we need to write them
Posted January 19, 2021How to write tests for Vue
Start writing tests today for your Vue application with this guide
Posted January 12, 2021How do I write tests for my JS app
The post you need to start writing tests for your JavaScript
Posted January 5, 2021Debugging Apollo Cache
The observation from implementing caching in Apollo
Posted November 12, 2020Working with Vue and Apollo GraphQL
Let's see GraphQL in action in your Vue app
Posted September 11, 2020Moving to GraphQL
Here is our starting point to the new architecture
Posted July 19, 2020How I Debug Poor Performance - Network
Here is how you can debug for poor performance by looking at network infomation
Posted July 4, 2020How Not to Slow Your Vue App
Here are some tips that you can do to NOT slow down your Vue app
Posted May 23, 2020Getting Started with Vue 3
Getting started with Vue 3 with Vuex and Vue Router
Posted April 19, 2020Firebase Functions Image Resizing
Automatically resize your image on Firebase to generate thumbnail
Posted April 18, 2020Flutter libraries I cannot live without
These libraries have made my Flutter developer experience more delightful
Posted March 31, 2020Flutter for Frontend Engineer
Flutter is easy to pick up especially for frontend engineer who wants to quickly starts a project
Posted January 2, 2020Vue 3 and Composition API
See what is new in Vue 3 and how Composition API can better organize your code
Posted December 2, 2019Serving Modern and Legacy Bundle
Serving the right amount of JavaScripts to different browsers to improve performance
Posted October 20, 2019Serving Image at the Right Time
Serving beautiful image at the right time is crucial to the overall user experience
Posted August 30, 2019Webpack Finally Lazy Load
Six-month frustration with Webpack code splitting and lazy loading fixed in one article.
Posted July 14, 2019Assumptions you shouldn't make as a developer
You should not make assumptions when working with one another or when writing codes
Posted May 11, 2019Journey to Creating a Long List
Make your long list to work efficiently and not crush people’s phones.
Posted October 13, 2018Ways 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, 2017Six-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, 2017Nodejs With Firebase Storage
Here’s a way for you to upload files to Firebase Storage from your Nodejs server
Posted June 6, 2017My personal web dev journey
I think I chose a wrong major in university
Posted January 24, 2017What have I gained in 2016?
Time to do a performance review for myself
Posted January 5, 2017Making 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