Tagged articles

JavaScript

2446 articles · Page 6 of 25
IT Services Circle
IT Services Circle
Nov 13, 2024 · Backend Development

Exploring Deno 2 and Bun as Modern JavaScript Package Managers

Both Deno 2 and Bun, the newly released JavaScript runtimes, can function as independent package managers, offering compatibility with Node.js and npm, support for various dependency sources, performance optimizations, and unique commands such as deno install, add, remove, and Bun’s workspace and caching features.

BunDenoJavaScript
0 likes · 8 min read
Exploring Deno 2 and Bun as Modern JavaScript Package Managers
php Courses
php Courses
Nov 13, 2024 · Frontend Development

Generating Statistical Charts with Labels and Legends Using ECharts and PHP

This tutorial demonstrates how to integrate the ECharts JavaScript library with a PHP backend to generate interactive statistical charts featuring labels and legends, covering resource inclusion, data preparation, HTML container setup, and JavaScript configuration with code examples.

Data VisualizationEChartsJavaScript
0 likes · 6 min read
Generating Statistical Charts with Labels and Legends Using ECharts and PHP
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 11, 2024 · Frontend Development

Why Alova.JS Offers a Lighter, Simpler Alternative to Axios

Alova.JS is a lightweight HTTP request library that supports multiple adapters, cross‑framework usage, and TypeScript, offering a smaller bundle size (≈30% of axios), a concise API, and high‑performance request strategies, making it a compelling replacement for axios in modern web projects.

FrontendHTTPJavaScript
0 likes · 11 min read
Why Alova.JS Offers a Lighter, Simpler Alternative to Axios
21CTO
21CTO
Nov 9, 2024 · Frontend Development

10 Essential JavaScript SEO Techniques Every Frontend Developer Must Know

Discover ten practical JavaScript SEO strategies—from server‑side rendering and canonical tags to lazy loading, pre‑rendering, dynamic meta tags, and clean URLs—that help frontend developers ensure their dynamic sites remain crawlable, indexable, and rank higher in search results.

JavaScriptPerformanceSEO
0 likes · 14 min read
10 Essential JavaScript SEO Techniques Every Frontend Developer Must Know
Taobao Frontend Technology
Taobao Frontend Technology
Nov 9, 2024 · Fundamentals

What New TC39 Proposals Are Shaping JavaScript’s Future?

Recent TC39 Stage‑1 proposals introduce iterator deduplication, enhanced template literals, function and object literal decorators, concurrency controls for async iterators, unordered async helpers, immutable ArrayBuffers, a measurement API, Array.zip utilities, reactive Signals, and stricter resource‑management using enforcement, each aiming to extend JavaScript’s core capabilities.

IteratorsJavaScriptLanguage Proposals
0 likes · 13 min read
What New TC39 Proposals Are Shaping JavaScript’s Future?
Taobao Frontend Technology
Taobao Frontend Technology
Nov 8, 2024 · Fundamentals

Exploring New ECMAScript Proposals: Discard Bindings, Iterator Chunking, and More

This article reviews several Stage 2 ECMAScript proposals—including discard bindings using the void operator, iterator chunking for sliding windows and non‑overlapping sequences, phase‑based ESM imports for static worker initialization, extractors for custom destructuring, and structs with shared memory, mutexes, and unsafe blocks.

ECMAScriptJavaScriptconcurrency
0 likes · 13 min read
Exploring New ECMAScript Proposals: Discard Bindings, Iterator Chunking, and More
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 6, 2024 · Frontend Development

Applying SOLID Principles to Frontend Development: Practical React and Angular Examples

This article explains the five SOLID design principles, shows how they are often violated in React and Angular code, and provides concrete refactorings—including custom hooks, separate services, validator classes, and interface segregation—to make frontend applications more maintainable, testable, and extensible.

AngularJavaScriptReAct
0 likes · 18 min read
Applying SOLID Principles to Frontend Development: Practical React and Angular Examples
Taobao Frontend Technology
Taobao Frontend Technology
Nov 6, 2024 · Fundamentals

New JavaScript Proposals Transform Error Handling, RegExp, and Binary Data

Several Stage‑3 TC39 proposals—including Error.isError for reliable error type checks, RegExp.escape for safe regex construction, Uint8Array methods for base64/hex conversion, and Temporal.TimeZone.prototype.equals for canonical time‑zone comparison—aim to enhance JavaScript’s core capabilities across browsers and Node.js.

Base64JavaScriptTC39
0 likes · 8 min read
New JavaScript Proposals Transform Error Handling, RegExp, and Binary Data
Taobao Frontend Technology
Taobao Frontend Technology
Nov 5, 2024 · Frontend Development

What’s New in JavaScript? Deep Dive into ShadowRealm, import defer, and More

This article reviews several upcoming JavaScript proposals—including the Stage 2.7 Error.isError method, the sandboxing ShadowRealm API, the import‑defer syntax for lazy module loading, as well as Iterator.zip, Iterator.concat, and Math.sumPrecise—detailing their motivations, usage examples, and potential impact on web and Node.js development.

ECMAScript proposalsIteratorsJavaScript
0 likes · 11 min read
What’s New in JavaScript? Deep Dive into ShadowRealm, import defer, and More
Taobao Frontend Technology
Taobao Frontend Technology
Nov 5, 2024 · Frontend Development

New JavaScript Proposals: Error.isError, RegExp.escape, Uint8Array Base64

These recent ECMAScript proposals—Error.isError for reliable error type checking, RegExp.escape to safely escape user‑provided strings, Uint8Array methods for seamless Base64 and hex conversions, and Temporal.TimeZone.prototype.equals for robust time‑zone comparison—aim to simplify development across browsers and Node.js by addressing long‑standing inconsistencies.

Base64ECMAScript proposalsError handling
0 likes · 8 min read
New JavaScript Proposals: Error.isError, RegExp.escape, Uint8Array Base64
DeWu Technology
DeWu Technology
Nov 4, 2024 · Frontend Development

WebAssembly (Wasm): Concepts, Advantages, and Practical Rust Integration

WebAssembly (Wasm) is a portable binary format that runs near native speed in browsers, providing sandboxed security and modular deployment, though its ecosystem is still maturing; it shines in compute‑intensive tasks like scientific computing, gaming, and porting native code, and can be integrated with Rust via wasm‑bindgen and wasm‑pack to create npm‑compatible modules that outperform JavaScript on larger workloads, while requiring higher development effort.

CompilationFrontendJavaScript
0 likes · 15 min read
WebAssembly (Wasm): Concepts, Advantages, and Practical Rust Integration
Taobao Frontend Technology
Taobao Frontend Technology
Nov 4, 2024 · Frontend Development

What New ECMAScript Proposals Will Shape JavaScript in 2023?

This article reviews the latest Stage 4 ECMAScript proposals—including ArrayBuffer transfer, iterator helpers, RegExp modifiers, import attributes, Promise.try, duplicate named capture groups, and Set methods—explaining their purpose, syntax, and example usage for modern JavaScript development.

ArrayBufferECMAScriptIterator
0 likes · 13 min read
What New ECMAScript Proposals Will Shape JavaScript in 2023?
DaTaobao Tech
DaTaobao Tech
Oct 28, 2024 · Fundamentals

Garbage Collection Algorithms and Reference Counting in QuickJS

QuickJS manages memory using reference counting for each object combined with a cycle‑collector that periodically scans roots, decrements child references, and frees objects whose counts drop to zero, while also supporting traditional reachability‑based garbage‑collection techniques such as mark‑sweep, copying, and generational collection.

C++Garbage CollectionJavaScript
0 likes · 9 min read
Garbage Collection Algorithms and Reference Counting in QuickJS
JD Tech Talk
JD Tech Talk
Oct 28, 2024 · Frontend Development

Integrating Rust with WebAssembly and JavaScript: A Step‑by‑Step Guide

This guide explains how to set up a Rust toolchain, compile Rust code to WebAssembly, use wasm‑bindgen and wasm‑pack, write the necessary Rust and JavaScript glue code, and run the resulting Wasm module in a web page with a Web Worker, providing a complete workflow for front‑end developers.

JavaScriptRustWebAssembly
0 likes · 16 min read
Integrating Rust with WebAssembly and JavaScript: A Step‑by‑Step Guide
JD Cloud Developers
JD Cloud Developers
Oct 28, 2024 · Frontend Development

How to Build Rust‑Powered WebAssembly Apps that Run in the Browser

This guide walks you through the complete workflow of writing Rust code, compiling it to WebAssembly, and integrating the resulting module with JavaScript and HTML to create a browser‑based demo that checks whether a number is even, while covering setup, tooling, and best‑practice tips.

JavaScriptRustWebAssembly
0 likes · 17 min read
How to Build Rust‑Powered WebAssembly Apps that Run in the Browser
JD Cloud Developers
JD Cloud Developers
Oct 24, 2024 · Frontend Development

Master Playwright: Fast Frontend Automation Testing with Real Code Examples

This guide explains why Playwright is a leading tool for frontend automated testing, walks through installing Node.js, Playwright and browsers, shows project configuration, provides runnable demo code, and demonstrates common GET and POST API requests, helping developers boost test efficiency and reliability.

AutomationFrontend TestingJavaScript
0 likes · 5 min read
Master Playwright: Fast Frontend Automation Testing with Real Code Examples
Java Architecture Stack
Java Architecture Stack
Oct 22, 2024 · Backend Development

How to Prevent Browser Caching of JavaScript in Java Backend Apps

This article explains why stale JavaScript can break functionality, outlines the risks of caching such as outdated bugs, security flaws, and debugging difficulties, and provides practical Java‑side solutions—including versioned URLs, cache‑control headers, static‑resource policies, and ETag/Last‑Modified handling—to ensure browsers always load the latest scripts.

BackendCachingJava
0 likes · 7 min read
How to Prevent Browser Caching of JavaScript in Java Backend Apps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 18, 2024 · Frontend Development

Comprehensive Guide to Vue Component Writing Styles: Options API, Composition API, Setup Syntax Sugar, Render Functions, and JSX

This article systematically introduces the many ways to write Vue components—including the classic Options API, the modern Composition API with setup syntax sugar, hand‑written render functions using h or createVNode, and various JSX techniques—explaining their principles, code examples, and when to choose each approach.

ComponentFrontendJSX
0 likes · 19 min read
Comprehensive Guide to Vue Component Writing Styles: Options API, Composition API, Setup Syntax Sugar, Render Functions, and JSX
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 16, 2024 · Frontend Development

How to Listen to LocalStorage Changes Within the Same Browser Tab: Techniques and Implementations

This article explains why the native storage event only works across different tabs, evaluates traditional polling and proxy approaches, and presents four efficient solutions—including custom StorageEvent, CustomEvent, MessageChannel, and BroadcastChannel—along with practical React and Vue examples for real‑time localStorage monitoring.

FrontendJavaScriptReAct
0 likes · 12 min read
How to Listen to LocalStorage Changes Within the Same Browser Tab: Techniques and Implementations
21CTO
21CTO
Oct 13, 2024 · Backend Development

What’s New in Deno 2.0? A Deep Dive into Its Node.js Compatibility and Updated Standard Library

Deno 2.0, the latest production release of the open‑source Deno runtime, brings major updates for JavaScript, TypeScript and WebAssembly, offers full backward compatibility with Node.js and npm, stabilizes its standard library, introduces private NPM registry support, workspace/monorepo features, and adds enhanced formatting, linting, and coverage tools.

DenoJavaScriptNode.js compatibility
0 likes · 4 min read
What’s New in Deno 2.0? A Deep Dive into Its Node.js Compatibility and Updated Standard Library
Java Tech Enthusiast
Java Tech Enthusiast
Oct 12, 2024 · Fundamentals

Simplifying Driver Assignment Logic: Guard Clauses, Decision Tables, and Function Composition

The article shows how to replace the taxi‑hailing app’s deeply nested driver‑assignment if‑statements with early‑exit guard clauses, data‑driven decision tables, and composable functions, thereby flattening the logic, enhancing readability, simplifying testing, and making future extensions easier to implement.

JavaScriptPythondecision tables
0 likes · 6 min read
Simplifying Driver Assignment Logic: Guard Clauses, Decision Tables, and Function Composition
58 Tech
58 Tech
Oct 12, 2024 · Frontend Development

Introducing Astro: Features, Performance Benefits, and Practical Project Implementation

This article introduces the Astro static‑site framework, explains its island architecture and performance advantages, compares Core Web Vitals with other frameworks, and provides detailed code examples and best‑practice guidelines for integrating Astro with React and Vue in real‑world projects.

AstroIsland ArchitectureJavaScript
0 likes · 15 min read
Introducing Astro: Features, Performance Benefits, and Practical Project Implementation
FunTester
FunTester
Oct 12, 2024 · Frontend Development

Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await

JavaScript’s single‑threaded nature makes asynchronous programming essential, and this guide explains callbacks, promises (including states and chaining), and async/await syntax with clear examples, illustrating how each technique avoids blocking the main thread and improves code readability and error handling.

Async/AwaitCallbacksFrontend
0 likes · 9 min read
Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await
JD Tech Talk
JD Tech Talk
Oct 10, 2024 · Frontend Development

Dynamic Cross‑Platform (Roma) Architecture and Rendering Process on HarmonyOS

This article provides a comprehensive overview of the dynamic cross‑platform (Roma) solution, detailing its JavaScript‑based architecture, integration with Android, iOS, HarmonyOS and Web, the SDK workflow, code examples, and the complete view creation, rendering, and update processes across multiple language environments.

HarmonyOSJavaScriptcross-platform
0 likes · 26 min read
Dynamic Cross‑Platform (Roma) Architecture and Rendering Process on HarmonyOS
JD Cloud Developers
JD Cloud Developers
Oct 10, 2024 · Mobile Development

How Dynamic Cross‑Platform UI Rendering Works on HarmonyOS, Android, iOS, and Web

This article explains the architecture and implementation of the Roma dynamic cross‑platform solution, covering its JavaScript‑VM based rendering pipeline, HarmonyOS integration challenges, resource packaging, view creation across JS, C++, and ArkTS layers, and the diff‑based update mechanism that enables seamless UI updates on multiple platforms.

HarmonyOSJavaScriptMobile Development
0 likes · 28 min read
How Dynamic Cross‑Platform UI Rendering Works on HarmonyOS, Android, iOS, and Web
FunTester
FunTester
Oct 10, 2024 · Backend Development

Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps

This article explores Goja, a pure‑Go JavaScript engine, detailing its features, integration with the K6 load‑testing tool, and practical code examples for embedding scripts, passing values, handling structs, invoking Go functions, error handling, and VM pooling to achieve high performance in Go applications.

EmbeddingGoGoja
0 likes · 14 min read
Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Oct 9, 2024 · Frontend Development

How the New JavaScript ?= Operator Can Eliminate Try‑Catch Boilerplate

JavaScript’s upcoming safe‑assignment operator ( ?= ) lets developers handle errors without traditional try‑catch blocks, reducing nesting, improving readability, and enabling seamless integration with async/await, Symbol.result, and recursive error handling, as demonstrated through multiple code examples and a polyfill link.

Async/AwaitError handlingJavaScript
0 likes · 5 min read
How the New JavaScript ?= Operator Can Eliminate Try‑Catch Boilerplate
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2024 · Frontend Development

Vue.js and Element‑plus Code Style and Naming Conventions

This article presents comprehensive Vue.js and Element‑plus coding standards, covering enum naming, directory and file naming conventions, component file structure, attribute and directive usage, boolean, function, class, constant, and enum naming rules, emphasizing consistency to improve readability and maintainability.

Best PracticesCode styleComponent Architecture
0 likes · 15 min read
Vue.js and Element‑plus Code Style and Naming Conventions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 8, 2024 · Frontend Development

Understanding Inversion of Control (IoC) and Dependency Injection in Front‑End Development

This article explains the Inversion of Control (IoC) principle, why it matters for growing front‑end applications, and demonstrates how to refactor a simple App component using dependency injection and a module registration system, turning the App into a container that manages its dependencies rather than directly instantiating them.

Dependency InjectionFrontendIOC
0 likes · 7 min read
Understanding Inversion of Control (IoC) and Dependency Injection in Front‑End Development
21CTO
21CTO
Oct 7, 2024 · Frontend Development

How Evan You’s VoidZero Aims to Unify the JavaScript Toolchain

Evan You, the creator of Vue.js, announced his new company VoidZero, which plans to build a unified, high‑performance JavaScript toolchain that addresses Vite’s limitations, introduces shared ASTs, common parsers, and faster bundlers like Rolldown, while already securing significant seed funding and industry adoption.

BundlerJavaScriptVite
0 likes · 9 min read
How Evan You’s VoidZero Aims to Unify the JavaScript Toolchain
21CTO
21CTO
Oct 7, 2024 · Frontend Development

What’s New in ECMAScript 2024? Exploring Six Major TC39 Proposals

This article reviews the six key ECMAScript 2024 proposals—including well‑formed Unicode strings, asynchronous atomic wait, the new RegExp v flag, ArrayBuffer transfer, array grouping, and Promise.withResolvers—explaining their purpose, API changes, and providing runnable code examples.

ArrayBufferECMAScriptJavaScript
0 likes · 9 min read
What’s New in ECMAScript 2024? Exploring Six Major TC39 Proposals
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 3, 2024 · Frontend Development

Using and Building Custom Hooks in Vue 3

This article explains what Hooks are, demonstrates how to use them in Vue 3, and guides readers through building reusable custom Hook functions such as useMouse and useTable, covering pagination, parameter handling, and best practices for clean, maintainable frontend code.

Composition APIFrontendHooks
0 likes · 23 min read
Using and Building Custom Hooks in Vue 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2024 · Frontend Development

Implementing a 3D Automotive Radar Visualization with three.js

This article walks through building a 3D automotive radar effect using three.js, covering background image loading, fog integration, car model import, radar sector creation with CircleGeometry and Line2, dynamic tween animations, and road texture scrolling to simulate vehicle motion.

AnimationJavaScriptradar visualization
0 likes · 12 min read
Implementing a 3D Automotive Radar Visualization with three.js
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 29, 2024 · Frontend Development

Why the AbortController API Is a Game‑Changer for JavaScript

The article shows that the standard AbortController API can do far more than just cancel fetch requests—it can cleanly remove event listeners, combine multiple abort signals, control streams, and even make database transactions cancelable, with concrete code examples and compatibility notes.

AbortControllerAbortSignalJavaScript
0 likes · 13 min read
Why the AbortController API Is a Game‑Changer for JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 29, 2024 · Frontend Development

drag-kit: A Lightweight Drag‑and‑Drop Library for Vue, React and Plain JavaScript

This article introduces the drag-kit library, explains why it is a good choice for high‑performance, cross‑iframe, responsive drag‑and‑drop interactions, provides quick‑start code examples, details its core features and advanced options, and shows how to integrate it with Vue, React and vanilla JavaScript.

Drag-and-DropJavaScriptReAct
0 likes · 12 min read
drag-kit: A Lightweight Drag‑and‑Drop Library for Vue, React and Plain JavaScript
Architect's Guide
Architect's Guide
Sep 28, 2024 · Frontend Development

One‑Click VSCode Snippet Configuration and Customization Guide

This tutorial shows how to collect, configure, and customize reusable VSCode code snippets for JavaScript, TypeScript, Vue, Java and other languages, enabling developers to replace repetitive boiler‑plate with a single click and tailor placeholder behavior to their workflow.

AutomationJavaScriptVSCode
0 likes · 8 min read
One‑Click VSCode Snippet Configuration and Customization Guide
JD Cloud Developers
JD Cloud Developers
Sep 27, 2024 · Frontend Development

Build a Chrome QR Code Generator Extension from Scratch

Learn how to create a custom Chrome extension that generates QR codes for any webpage, covering plugin architecture, manifest configuration, background and popup scripts, testing, and publishing steps, while highlighting benefits like personalization, security, and cost savings for developers.

Chrome ExtensionJavaScriptQR code
0 likes · 8 min read
Build a Chrome QR Code Generator Extension from Scratch
JD Tech Talk
JD Tech Talk
Sep 27, 2024 · Frontend Development

How to Build a Simple QR Code Generator Chrome Extension

This article explains why writing a custom Chrome extension is beneficial and provides step‑by‑step instructions, including directory structure, manifest, background script, popup UI, testing, and publishing, to create a QR code generator that works directly from the browser.

Browser PluginChrome ExtensionJavaScript
0 likes · 9 min read
How to Build a Simple QR Code Generator Chrome Extension
Tencent Cloud Developer
Tencent Cloud Developer
Sep 26, 2024 · Fundamentals

Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations

The article explains V8’s compiler pipeline from parsing to TurboFan optimization, details tagged pointers, hidden‑class object models and inline caches, and offers practical performance tips such as keeping functions short, preserving monomorphic call sites, stabilizing property order, and avoiding deletes to maintain fast property access.

JITJavaScriptTagged Pointer
0 likes · 27 min read
Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations
21CTO
21CTO
Sep 25, 2024 · Frontend Development

20 Essential JavaScript Tricks to Write Cleaner, Faster Code

Discover 20 practical JavaScript techniques—from using let/const and destructuring to async/await and debouncing—that help you write more concise, efficient, and maintainable code while improving overall development workflow.

FrontendJavaScriptTips
0 likes · 8 min read
20 Essential JavaScript Tricks to Write Cleaner, Faster Code
vivo Internet Technology
vivo Internet Technology
Sep 25, 2024 · Frontend Development

Automated AST-Based Code Migration for Vue Front‑End Projects

To simplify large‑scale Vue upgrades such as Vue 2→Vue 3, Webpack 4→Webpack 5, or migration to Vite, the author presents an automated AST‑based migration scaffold that parses JavaScript, Vue, and style files, applies transformation rules with GoGoCode and PostCSS, and rewrites code, reducing manual effort and error risk.

ASTAutomationCode migration
0 likes · 20 min read
Automated AST-Based Code Migration for Vue Front‑End Projects
Code Mala Tang
Code Mala Tang
Sep 21, 2024 · Backend Development

Mastering Yargs Middleware: From Basics to Advanced Usage

Explore how Yargs middleware enhances command-line tools by allowing pre- and post-validation processing, global and command-specific hooks, and flexible implementation details, with practical code examples, API insights, and strategies for managing, freezing, and resetting middleware chains.

Command LineJavaScriptMiddleware
0 likes · 13 min read
Mastering Yargs Middleware: From Basics to Advanced Usage
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 20, 2024 · Fundamentals

Understanding JavaScript Pre‑compilation and Hoisting

This article explains JavaScript's pre‑compilation process, including variable and function declaration hoisting, the creation of execution contexts, and the differences between var, let, and const, using several illustrative code examples to clarify how the engine resolves identifiers at runtime.

FunctionsFundamentalsJavaScript
0 likes · 7 min read
Understanding JavaScript Pre‑compilation and Hoisting
JD Tech Talk
JD Tech Talk
Sep 19, 2024 · Fundamentals

Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process

This article explains the need to adapt the Roma framework for HarmonyOS by selecting and analyzing the V8 JavaScript engine, describes its internal components such as the parser, Ignition interpreter, TurboFan JIT compiler and Orinoco garbage collector, and provides a step‑by‑step guide for cross‑compiling V8 with CMake, GN, Ninja and tool‑chain files to produce a usable library for HarmonyOS native projects.

CMakeHarmonyOSJavaScript
0 likes · 36 min read
Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process
21CTO
21CTO
Sep 18, 2024 · Frontend Development

Why the JavaScript Community Is Battling Oracle Over the Language’s Trademark

The JavaScript community, backed by over 2,500 developers and key language creators, is urging Oracle to abandon its unused JavaScript trademark to free the language from legal constraints and restore open use for projects, conferences, and education.

CommunityJavaScriptOpen source
0 likes · 11 min read
Why the JavaScript Community Is Battling Oracle Over the Language’s Trademark
JD Tech
JD Tech
Sep 18, 2024 · Frontend Development

Migrating a Webpack Project to Vite: A Golden Circle Approach

This article explains how to apply Simon Sinek's Golden Circle framework to migrate a large‑scale Webpack‑based frontend project to Vite, detailing the motivations, the faster development experience, step‑by‑step migration procedures, configuration adjustments, and the resulting performance improvements.

Build ToolsJavaScriptPerformance optimization
0 likes · 13 min read
Migrating a Webpack Project to Vite: A Golden Circle Approach
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 18, 2024 · Fundamentals

How the New JavaScript Safe Assignment Operator Eliminates try‑catch

The ECMAScript proposal‑safe‑assignment‑operator introduces the ?= operator, which returns an [error, result] tuple, allowing developers to replace verbose try‑catch blocks with concise, readable error handling that works with async functions, Promises, and any object implementing Symbol.result, while also improving code consistency and safety.

==Async/AwaitError handling
0 likes · 8 min read
How the New JavaScript Safe Assignment Operator Eliminates try‑catch
IT Services Circle
IT Services Circle
Sep 17, 2024 · Frontend Development

Why [] == ![] in JavaScript: Understanding Loose Equality and Its Pitfalls

This article explains the surprising result of the JavaScript expression [] == ![], detailing how empty arrays are truthy, how they are coerced to strings and numbers during loose equality comparison, and why using strict equality (===) or TypeScript avoids such confusing behavior.

ArraysJavaScriptLoose Equality
0 likes · 4 min read
Why [] == ![] in JavaScript: Understanding Loose Equality and Its Pitfalls
php Courses
php Courses
Sep 13, 2024 · Frontend Development

Generating Charts with Labels and Legends Using ECharts and a PHP API

This tutorial explains how to integrate the open‑source ECharts library with a PHP backend to produce interactive statistical charts that include custom labels and legends, providing step‑by‑step code examples for data preparation, HTML markup, and JavaScript configuration.

Data VisualizationEChartsFrontend
0 likes · 6 min read
Generating Charts with Labels and Legends Using ECharts and a PHP API
DeWu Technology
DeWu Technology
Sep 4, 2024 · Frontend Development

An Overview of Babel: Architecture, Transpilation Process, and ECMAScript Standardization

Babel is a micro‑kernel JavaScript transpiler that parses source code into an AST, lets plugins and presets transform it, and generates backward‑compatible code with optional source maps, while its runtime helpers, polyfills, and close alignment with the evolving ECMAScript specification ensure modern syntax works across legacy environments.

BabelECMAScriptFrontend
0 likes · 23 min read
An Overview of Babel: Architecture, Transpilation Process, and ECMAScript Standardization
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 4, 2024 · Fundamentals

What’s New in ECMAScript 2024? A Deep Dive into the Latest Proposals

The ECMAScript 2024 specification, approved on June 26, introduces six major proposals—including well‑formed Unicode strings, asynchronous atomic wait, a powerful RegExp v flag, ArrayBuffer transfer, native array grouping, and Promise.withResolvers—each illustrated with code examples and practical implications for JavaScript developers.

Array groupingArrayBuffer transferAsync Atomic Wait
0 likes · 10 min read
What’s New in ECMAScript 2024? A Deep Dive into the Latest Proposals
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 4, 2024 · Frontend Development

Image Fragmentation Effect with HTML, CSS, and JavaScript

This article explains how to create a picture‑fragment animation by dividing an image into a grid of small blocks, using CSS background‑size and background‑position together with JavaScript to generate the blocks, apply delays, rotations, scaling, and performance‑optimising techniques.

AnimationHTMLJavaScript
0 likes · 10 min read
Image Fragmentation Effect with HTML, CSS, and JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 3, 2024 · Frontend Development

Understanding the Decorator Pattern and AOP in JavaScript

This article explains the decorator pattern and how Aspect‑Oriented Programming (AOP) can be used in JavaScript to dynamically extend object behavior, provides classic and Vue‑based code examples, discusses advantages and drawbacks, and outlines practical scenarios for applying decorators in front‑end development.

AOPFrontendJavaScript
0 likes · 11 min read
Understanding the Decorator Pattern and AOP in JavaScript
IT Services Circle
IT Services Circle
Sep 2, 2024 · Artificial Intelligence

Using Gemini Nano Prompt API in Chrome Canary for In‑Browser AI

This article explains how Google’s Gemini Nano can run directly in the browser via the Prompt API, guides you through enabling the feature in Chrome Canary, checking model readiness, and provides JavaScript code examples for creating text sessions, streaming responses, and building a simple translation demo.

AIChrome CanaryGemini Nano
0 likes · 8 min read
Using Gemini Nano Prompt API in Chrome Canary for In‑Browser AI
大转转FE
大转转FE
Sep 2, 2024 · Frontend Development

ZhuanZhuan Frontend Weekly – Curated Technical Articles

The ZhuanZhuan Frontend Weekly curates five recent technical articles—including a Rust‑based JavaScript bundler, Airbnb’s seamless React upgrade, HarmonyOS ArkUI framework, a JavaScript Super Mario game, and the Interface Segregation Principle in React—providing concise English summaries and links for developers.

BundlerFrontendGame Development
0 likes · 4 min read
ZhuanZhuan Frontend Weekly – Curated Technical Articles
Bilibili Tech
Bilibili Tech
Aug 30, 2024 · Frontend Development

Implementing a Cross-Page Playback Queue with Document Picture-in-Picture

The article explains how Bilibili leveraged Chrome’s Document Picture‑in‑Picture API to create a cross‑page playback queue displayed in a small always‑on‑top window, detailing style synchronization, independent lifecycle handling via a helper class, and real‑time updates using BroadcastChannel‑plus‑iframe messaging while relying solely on native web features.

Cross-Page PlaybackDocument Picture-in-PictureJavaScript
0 likes · 31 min read
Implementing a Cross-Page Playback Queue with Document Picture-in-Picture
ByteDance Web Infra
ByteDance Web Infra
Aug 28, 2024 · Frontend Development

Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance

Rspack 1.0, the Rust‑implemented next‑generation JavaScript bundler compatible with webpack APIs, launches with major performance gains, broader plugin compatibility, smaller bundle sizes, Module Federation 2.0 support, and a roadmap that includes faster HMR, portable caches, and deeper TypeScript integration.

BundlerJavaScriptPerformance
0 likes · 16 min read
Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance
Top Architecture Tech Stack
Top Architecture Tech Stack
Aug 28, 2024 · Game Development

Technical Stack of the Chinese AAA Game “Black Myth: Wukong”

The article examines the technology behind the Chinese AAA title “Black Myth: Wukong”, revealing its use of Unreal Engine 5 with C++ as the core language, additional JavaScript integration via Unreal.js, and discusses community speculation about tools like PuerTS while also containing promotional material for development tools.

C++Game DevelopmentJavaScript
0 likes · 4 min read
Technical Stack of the Chinese AAA Game “Black Myth: Wukong”
21CTO
21CTO
Aug 26, 2024 · Frontend Development

Building a Mac Desktop App with Tauri 2.0: From Web Frontend to Rust Backend

This guide walks through creating a macOS desktop application using Tauri 2.0, demonstrating how to combine any web front‑end framework with Rust for a secure, lightweight, cross‑platform executable, complete with code samples and build steps.

JavaScriptTauriWeb Frontend
0 likes · 10 min read
Building a Mac Desktop App with Tauri 2.0: From Web Frontend to Rust Backend
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 24, 2024 · Frontend Development

Creating a VSCode Extension to Display a Background Video

This article explains how to develop a VSCode extension that injects a video element into the editor’s workbench, allowing users to set a dynamic background video (such as the Wukong promotional clip), with configurable opacity, video selection, installation, and uninstallation instructions.

Background VideoElectronExtension
0 likes · 8 min read
Creating a VSCode Extension to Display a Background Video
21CTO
21CTO
Aug 20, 2024 · Frontend Development

5 Compelling Reasons to Skip JavaScript Frameworks

This article explains why using a JavaScript framework isn’t always necessary, outlining five practical scenarios—simple projects, pure HTML/CSS solutions, modern ES6 features, creative freedom, and HTMX—that allow developers to build efficient web applications without added complexity.

FrontendHTMXJavaScript
0 likes · 7 min read
5 Compelling Reasons to Skip JavaScript Frameworks
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 18, 2024 · Frontend Development

Understanding ESLint: Core Concepts, Configuration Complexity, and Debugging Techniques

This article explains ESLint's highly configurable static analysis architecture, clarifies the roles of parsers, processors, configs and plugins, explores the intricacies of its configuration system, and provides practical debugging methods—including performance profiling and a real‑world import/no-cycle case study.

ESLintJavaScriptPerformance
0 likes · 13 min read
Understanding ESLint: Core Concepts, Configuration Complexity, and Debugging Techniques
CSS Magic
CSS Magic
Aug 12, 2024 · Frontend Development

Fix the Broken ChatGPT Web Interface with a Custom User Script

When a new ChatGPT web release triggers a "Oops, an error occurred! (Try again)" message on older browsers, the article explains how the missing Array.prototype.toSorted() method causes the failure and guides readers through creating a Tampermonkey user script that injects a polyfill to restore functionality.

ChatGPTFrontendJavaScript
0 likes · 11 min read
Fix the Broken ChatGPT Web Interface with a Custom User Script
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 9, 2024 · Backend Development

Run TypeScript Directly in Node.js with the New Experimental Flag

Node.js v22.6.0 introduces the experimental --experimental-strip-types flag, enabling developers to execute TypeScript files directly, but it only strips type annotations at runtime and imposes several usage constraints such as mandatory type‑only imports and explicit file extensions.

BackendExperimental FlagJavaScript
0 likes · 3 min read
Run TypeScript Directly in Node.js with the New Experimental Flag
大转转FE
大转转FE
Aug 9, 2024 · Frontend Development

Mastering JavaScript Prototype Chain: A Complete Guide

This article explains the JavaScript prototype chain in depth, covering the definitions of prototype and __proto__, their relationships, how objects inherit properties, the role of constructors, and includes practical code examples and visual diagrams to illustrate each concept.

JavaScriptPrototype__proto__
0 likes · 9 min read
Mastering JavaScript Prototype Chain: A Complete Guide
21CTO
21CTO
Aug 6, 2024 · Backend Development

Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide

This tutorial walks you through installing Node.js and npm, initializing a project, adding Express, creating routes, handling static files, processing POST requests with body‑parser, implementing simple in‑memory storage, adding error handling, and rendering HTML with EJS, all illustrated with complete code examples.

Backend DevelopmentExpressJavaScript
0 likes · 16 min read
Build a Full-Featured Node.js Web Server with Express: Step‑by‑Step Guide
Python Programming Learning Circle
Python Programming Learning Circle
Aug 5, 2024 · Frontend Development

Creating a Snowfall Effect with JavaScript and CSS

This tutorial demonstrates how to build a realistic snowfall animation on a web page by using CSS radial gradients for snowflakes and a JavaScript class that generates, styles, and animates thousands of snow particles with requestAnimationFrame, including advanced enhancements like speed variation, swing motion, 3D perspective, and rain integration.

AnimationFrontendJavaScript
0 likes · 11 min read
Creating a Snowfall Effect with JavaScript and CSS
大转转FE
大转转FE
Aug 2, 2024 · Fundamentals

JavaScript Implicit Type Conversions You Didn't Know

This article examines JavaScript’s implicit type conversion mechanisms, illustrating a quirky yet functional code example, detailing conversion rules for symbols, objects, arrays, numbers, booleans, and undefined/null, and highlighting common pitfalls and practical coding tricks.

JSFuckJavaScriptType Coercion
0 likes · 11 min read
JavaScript Implicit Type Conversions You Didn't Know
FunTester
FunTester
Aug 2, 2024 · Industry Insights

Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need

This article analyzes how JavaScript’s rich functionality, expanding ecosystem, and single‑language workflow have reshaped web development, outlines the essential front‑end and back‑end skills for full‑stack developers, and explores the career advantages and future trends such as WebAssembly.

BackendCareerFrontend
0 likes · 10 min read
Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Fundamentals

Key ES8 (ECMAScript 2017) Features for Modern JavaScript Development

ES8 (ECMAScript 2017) adds trailing commas, async/await syntax, native Object.values/entries methods, padStart/padEnd string padding, and Object.getOwnPropertyDescriptors, enabling cleaner, more concise, and maintainable JavaScript code while simplifying asynchronous handling and object manipulation for developers.

Async/AwaitES8JavaScript
0 likes · 7 min read
Key ES8 (ECMAScript 2017) Features for Modern JavaScript Development