Eric, the Frontend Magician

Blog By Eric

Software Engineer, frontend, Flutter, Machine Learning, loves reading, loves Westworld, would love to travel

Cover image

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

Link
Cover image

Why do we need to write tests

Tests are boring why do we need to write them

Link
Cover image

How to write tests for Vue

Start writing tests today for your Vue application with this guide

Link
Cover image

How do I write tests for my JS app

The post you need to start writing tests for your JavaScript

Link
Cover image

Debugging Apollo Cache

The observation from implementing caching in Apollo

Link
Cover image

Working with Vue and Apollo GraphQL

Let's see GraphQL in action in your Vue app

Link
Cover image

Moving to GraphQL

Here is our starting point to the new architecture

Link
Cover image

How I Debug Poor Performance - Network

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

Link
Cover image

How Not to Slow Your Vue App

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

Link
Cover image

Getting Started with Vue 3

Getting started with Vue 3 with Vuex and Vue Router

Link
Cover image

Firebase Functions Image Resizing

Automatically resize your image on Firebase to generate thumbnail

Link
Cover image

Flutter libraries I cannot live without

These libraries have made my Flutter developer experience more delightful

Link
Cover image

Flutter for Frontend Engineer

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

Link
Cover image

Vue 3 and Composition API

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

Link
Cover image

Serving Modern and Legacy Bundle

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

Link
Cover image

Serving Image at the Right Time

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

Link
Cover image

Webpack Finally Lazy Load

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

Link
Cover image

Assumptions you shouldn't make as a developer

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

Link
Cover image

Journey to Creating a Long List

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

Link

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…

Link

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…

Link

Nodejs With Firebase Storage

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

Link
Cover image

My personal web dev journey

I think I chose a wrong major in university

Link
Cover image

What have I gained in 2016?

Time to do a performance review for myself

Link
Cover image

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…

Link
Cover image

Things I learned from being an intern

Link