JavaScript

Talking About the Axios HTTP Library

Common Axios gotchas: which status codes reject, how it differs from XHR onerror, redirects, array params, and canceled …

· 2 min
JavaScript

Dictionary vs Map vs Object

This article introduces the differences between Dictionary, Map, and Object in JavaScript, including their advantages, …

· 4 min
JavaScript

Type Casting vs. Type Assertions in TypeScript

Clarifies that TypeScript’s `as` syntax performs compile-time assertions, not runtime casts, and compares it with …

· 2 min
TypeScriptJavaScript

Jest Less Import Error

This article provides an introduction to Jest Less import errors, including solutions, implementation details, and …

· 4 min
TestingJavaScript

[Translation] Evaluating Redux Saga Test Libraries

Translated notes comparing native saga testing with five helper libraries, highlighting scenarios each handles best.

· 7 min
ReactJavaScript

[Translation] Core JavaScript Concepts

This article translates and introduces some core JavaScript concepts, including scope, IIFE, MVC, async/await, closures, …

· 4 min
TranslationJavaScript

On Sync, Async, and Cross-Origin

A cross-origin handoff where an async call would complicate things; a synchronous form submit ends up the cleanest …

· 2 min
JavaScriptFrontend Development

[Translation] Promises vs Observables

This article introduces the comparison between Promises and Observables, including their advantages, implementation …

· 11 min
JavaScript

hexo-error

This article introduces common hexo errors, including their causes, solutions, and implementation details. These steps …

· 1 min
Node.jsJavaScript

jiathis HTTPS Unsupported Solution

This article provides a solution for jiathis HTTPS unsupported issues, including implementation details and alternative …

· 1 min
JavaScript

How to Use jsPlumb (Step-by-Step Guide)

This comprehensive guide covers jsPlumb usage for creating directed acyclic graphs (DAGs), including key concepts, …

· 5 min
JavaScriptVisualizationDAG

ES6 Common Issues

This article introduces common ES6 issues, including advantages, implementation details, and related resources that can …

· 1 min
JavaScript

How to Use dagre-d3 (Step-by-Step Guide)

This article introduces the dagre-d3 usage guide, including its advantages, implementation details, and related …

· 3 min
JavaScriptD3Data Visualization

Webpack Build: File Hash Unchanged Despite Content Changes — Analysis and Fix

An analysis and fix for the issue where a Webpack build outputs files whose hash remains the same even though their …

· 2 min
Build ToolsJavaScript