Xucong Zhan

Opinions are my own. | One of the minorities that love Angular.

Speed Up Angular Dev With Cache

Angular is about to release v13! 13 days until... 😉 — Angular (@angular) October 22, 2021 One of the new features that excites me the most is the persistent build cache. In v12.1, this feature was introduced as an opt-in by the CLI via an environment variable NG_PERSISTENT_BUILD_CACHE=1. Now this environment variable has been disabled. Instead, this caching feature is now enabled by default and can be configured inside angular.

Achieve Axios' Interceptor's Functionality with Ky

Axios is no doubt one of the most popular libraries out there to make HTTP calls, but let’s not forget now we have something equally powerful built into our browser: the Fetch API. In this post, I am going to share my experience of how to achieve the common use case of interceptors with a Fetch-based HTTP client library named “ky”.

Setting up WSL 2 for Web Development

WSL 2 finally made its way to the slow ring of Windows Preview! I am sure you are excited about the improved I/O performance, but is there anything to watch out for? In this post, I am going to share with you my experience of setting up a web development within WSL2.

Create Vue Components as, not inside, Modals

Recently, the majority of my work involves integrating Vue in a traditional Django application, which uses jQuery extensively. The first task on this front is to convert a preview modal into a Vue component and add some quick editing functionality. In this post, I will share some refactoring experience and lessons learned along the way.