Programming

JS Precision Math: Choosing big.js vs mathjs

This post compares big.js and mathjs for JavaScript precision calculations, including pros, size, and usage …

· 2 min
JavaScript

Eliminating Dead Code in TS Projects

How to remove dead code in TypeScript projects with compiler settings, lint rules, and tooling so you keep the codebase …

· 2 min
TypeScript

A Guide to HAR Files: Recording and Analyzing Web Requests

Learn how to use Chrome's HAR files to record and analyze web requests. This guide covers downloading, uploading, and …

· 2 min
ChromefrontendHAR

React Project Framework Upgrade

This post describes upgrading a React project, including motivations, key areas, issues, and package versions.

· 2 min
React

integrity in yarn.lock

What the integrity field in yarn.lock means, how it’s computed, and why not every package has it.

· 1 min
Node.jsFrontend Development

Introducing CheckStyle to Improve Java Code Quality

This article introduces using CheckStyle to improve Java code quality, including usage scenarios and implementation …

· 4 min
Code Quality

Deep Cloning in Redux State

Discusses the pitfalls of deep-cloning Redux state, compares cloneDeep, clone, and JSON techniques, and offers guidance …

· 2 min
React

JavaScript method vs function vs member

This article explains the differences between JavaScript methods, functions, and members, including their advantages, …

· 4 min
JavaScriptTypeScript

Git Team Development Process Specification - MR Conflict Resolution

This article introduces Git team development process specification for MR conflict resolution, including its advantages, …

· 1 min
Git

Effective JavaScript Reading Notes

This article contains my reading notes on Effective JavaScript, including key insights, implementation details, and …

· 5 min
JavaScript

Important Details to Note When Using Antd

This article introduces important details to note when using Antd, including advantages, implementation details, and …

· 4 min
Technical Learning

Thoughts on Code Coverage Scope in Code Review

This article examines how to consider code coverage scope during code reviews so the process stays efficient and avoids …

· 1 min
Git

Why I Hate Lodash

This article explains why I hate Lodash, including usage scenarios and implementation details, to improve understanding …

· 2 min
JavaScript

NPM Dependency Model

This article introduces the npm dependency model, including its advantages, implementation details, and related …

· 2 min
Node.js

Solving the Misalignment Between Antd Table Headers and Content Cells

This article introduces the issue of misalignment between Antd table headers and content cells, including advantages, …

· 3 min
CSS

Time Formatting in JavaScript

This post covers time formatting in JavaScript, including UTC display and locale-based formatting.

· 2 min
JavaScript

redux-saga-promise

Explores turning saga-driven actions into Promises, evaluates existing approaches, and shares notes on the …

· 2 min
React

regeneratorRuntime is not defined

Troubleshooting the regeneratorRuntime runtime error after adding redux-saga-promise, covering root cause and fixes in …

· 1 min
TypeScript

IDEA Plugin - NPM Package Version History

This article introduces the IDEA plugin for viewing NPM package version history, covering its advantages, implementation …

· 3 min

Difference Between implements and extends in TypeScript

Clarifies how implements vs. extends behave in TypeScript and compares them with Java.

· 1 min
TypeScript

Publishing Public Packages to npmjs

This article introduces publishing public packages to npmjs, including its advantages, implementation details, and …

· 2 min
Node.js

Don't Use Yoda Conditions in Frontend

This post explains why not to use Yoda conditions in frontend code, covering scenarios and lint rules to improve code …

· 2 min
Code Quality

NPM Indirect Dependency Version Issues

This article introduces NPM indirect dependency version management, including its advantages, implementation details, …

· 2 min
Node.js

Unknown vs. Any in TypeScript

Highlights the core difference between `unknown` and `any`, with examples of type narrowing and why `unknown` is safer.

· 1 min
TypeScript

Global Exception Interception and Customized Error Handling in Axios

This article explores the implementation of global exception interception and customized error handling in Axios. …

· 3 min
React