Tagged articles

JavaScript

2473 articles · Page 6 of 25
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 28, 2024 · Artificial Intelligence

Understanding Tokenizers and Embeddings in Large Language Models

This article introduces the core concepts of tokenizers and embeddings in large language models, explains how they convert text into numeric IDs and dense vectors, compares different tokenization strategies, and provides practical JavaScript and TensorFlow.js code examples for beginners.

AI FundamentalsJavaScriptLLM
0 likes · 10 min read
Understanding Tokenizers and Embeddings in Large Language Models
Selected Java Interview Questions
Selected Java Interview Questions
Nov 26, 2024 · Frontend Development

Typical JavaScript Bundle Sizes of Popular Websites in 2024

A 2024 analysis by Nikita Prokopov of uncompressed JavaScript file sizes across a range of popular websites shows sizes varying from a tiny 0.1 MB for jQuery to over 12 MB for heavyweight platforms like YouTube and Booking.com, highlighting the diversity of front‑end payloads.

JavaScriptWeb PerformanceWebsite Analysis
0 likes · 3 min read
Typical JavaScript Bundle Sizes of Popular Websites in 2024
System Architect Go
System Architect Go
Nov 24, 2024 · Artificial Intelligence

Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM

This article demonstrates how to build a web‑based voice chatbot by integrating Whisper speech‑to‑text, llama.cpp LLM inference, and WebSocket communication, detailing both the frontend JavaScript implementation and the Python FastAPI backend, along with Docker deployment and example code.

FastAPIJavaScriptLLM
0 likes · 10 min read
Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM
JavaScript
JavaScript
Nov 22, 2024 · Fundamentals

Why JavaScript Might Split into Core JS0 and JSSugar: A New Proposal

At a recent Emca TC39 meeting, a Google engineer proposed dividing JavaScript into a minimal core language (JS0) and an advanced variant (JSSugar), arguing that new language features often harm security, performance, and stability, and suggesting that higher‑level capabilities be handled by external tools like TypeScript or Babel.

BabelJS0JSSugar
0 likes · 2 min read
Why JavaScript Might Split into Core JS0 and JSSugar: A New Proposal
JavaScript
JavaScript
Nov 21, 2024 · Frontend Development

Why Promise.try Simplifies Async Error Handling in JavaScript

This article explains how Promise.try provides a cleaner, more consistent way to handle both synchronous and asynchronous errors in JavaScript, eliminating the need for repetitive try‑catch blocks and improving code readability.

JavaScriptPromisefrontend
0 likes · 4 min read
Why Promise.try Simplifies Async Error Handling in JavaScript
Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Frontend Development

Comparison of Vue 2 and Vue 3 Reactivity: Object.defineProperty vs Proxy

Vue 2 implements reactivity by adding individual getters and setters with Object.defineProperty, which works for existing properties but struggles with many fields and dynamic changes, whereas Vue 3 uses a Proxy to intercept all operations on an object, delivering higher performance, automatic handling of added or removed properties, and greater flexibility for complex data structures.

JavaScriptObject.definePropertyReactivity
0 likes · 14 min read
Comparison of Vue 2 and Vue 3 Reactivity: Object.defineProperty vs Proxy
Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Frontend Development

JavaScript Pipeline Operator: Concepts, Drawbacks of Traditional Approaches, and Practical Usage

The JavaScript pipeline operator replaces cumbersome temporary variables, nested calls, and limited method chaining by letting developers chain regular, async, or generator functions directly, improving readability and maintainability, while Babel’s proposal‑hack plugin can be installed and configured now to start using it.

BabelJavaScriptcode readability
0 likes · 3 min read
JavaScript Pipeline Operator: Concepts, Drawbacks of Traditional Approaches, and Practical Usage
21CTO
21CTO
Nov 20, 2024 · Frontend Development

Top 10 Modern JavaScript Patterns Shaping Development in 2025

This article explores ten cutting‑edge JavaScript patterns—from native pattern matching and immutable data to module federation and type‑first development—explaining how each enhances code readability, maintainability, and scalability as the ecosystem evolves toward 2025.

2025Design PatternsJavaScript
0 likes · 6 min read
Top 10 Modern JavaScript Patterns Shaping Development in 2025
IT Services Circle
IT Services Circle
Nov 19, 2024 · Backend Development

New Features in Recent Node.js Releases (v20–v23)

The article reviews the rapid evolution of Node.js, detailing new security, testing, module, environment, and runtime capabilities introduced from version 20 through 23, while also noting the emergence of competing runtimes Deno and Bun and their impact on the JavaScript ecosystem.

BunDenoJavaScript
0 likes · 9 min read
New Features in Recent Node.js Releases (v20–v23)
JavaScript
JavaScript
Nov 19, 2024 · Frontend Development

11 Must‑Use Open‑Source Tools for Freelance Developers (Front‑to‑Back)

Discover the 11 most popular open‑source projects that freelance developers rely on—from fast front‑end build tools like Vite and Tailwind CSS to back‑end frameworks such as Express, ORM Sequelize, real‑time Socket.IO, testing with Jest, code quality with ESLint and Prettier, and containerization with Docker—each with concise usage examples.

DockerJavaScriptbackend
0 likes · 11 min read
11 Must‑Use Open‑Source Tools for Freelance Developers (Front‑to‑Back)
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 18, 2024 · Backend Development

Run JavaScript Inside Nginx with njs: A Hands‑On Guide

This article introduces njs, the JavaScript engine for Nginx, explains its basic "Hello world" example and walks through advanced features such as filesystem APIs, asynchronous I/O, shared memory, response handling, logging, and the global namespace, all with concrete code snippets.

JavaScriptasynchronous processingfilesystem API
0 likes · 8 min read
Run JavaScript Inside Nginx with njs: A Hands‑On Guide
JD Tech Talk
JD Tech Talk
Nov 18, 2024 · Frontend Development

Step‑by‑Step Guide to Building a Chrome Extension with Manifest, UI, and Advanced Features

This article explains what browser extensions are, outlines the Chrome extension file structure, walks through creating the manifest, popup UI, content and background scripts, demonstrates messaging APIs, and shows how to add features such as ad removal, context‑menu shortcuts, request blocking, custom new‑tab pages, and text‑highlighting.

Chrome ExtensionContent ScriptJavaScript
0 likes · 8 min read
Step‑by‑Step Guide to Building a Chrome Extension with Manifest, UI, and Advanced Features
JD Cloud Developers
JD Cloud Developers
Nov 18, 2024 · Frontend Development

Build Your Own Chrome Extension: Step‑by‑Step Guide with Code Samples

This tutorial walks you through the fundamentals of Chrome extension development, covering the extension architecture, required files, manifest configuration, UI creation, background and content scripts, messaging APIs, and advanced features such as ad removal, context‑menu shortcuts, request blocking, custom new‑tab pages, and text highlighting.

JavaScriptWeb APIsbrowser automation
0 likes · 9 min read
Build Your Own Chrome Extension: Step‑by‑Step Guide with Code Samples
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 15, 2024 · Frontend Development

How to Build Real‑Time LLM Streaming in the Browser with Fetch

This article explains the mechanism of HTTP API streaming for large language models and shows step‑by‑step how front‑end developers can use the Fetch API, readable streams, and incremental UI updates to deliver real‑time, progressive results while handling errors and connection interruptions.

Fetch APIFront-endHTTP streaming
0 likes · 9 min read
How to Build Real‑Time LLM Streaming in the Browser with Fetch
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Nov 13, 2024 · Fundamentals

Master the New &&= and ??= Operators in JavaScript

The article explains ECMAScript 2021's logical assignment operators &&= and ??=, detailing their semantics, showing traditional equivalents, listing truthy/falsy values, and providing practical code examples and use‑cases for concise conditional assignments.

JavaScriptes2021logical-assignment
0 likes · 6 min read
Master the New &&= and ??= Operators in JavaScript
YiSu Grain
YiSu Grain
Nov 13, 2024 · Frontend Development

FineReport Tip: Show Fixed‑URL Image on Hover in a Standard Report (Part 1)

This tutorial walks through creating a FineReport template, adding a parameter panel, designing the table, importing Bootstrap CSS/JS, configuring a tooltip, writing JavaScript to display a fixed‑URL image when hovering over cells in column E, and previewing the result.

BootstrapFineReportJavaScript
0 likes · 4 min read
FineReport Tip: Show Fixed‑URL Image on Hover in a Standard Report (Part 1)
JD Tech
JD Tech
Nov 13, 2024 · Frontend Development

Dynamic Cross‑Platform Rendering Architecture and Implementation on HarmonyOS

This article explains the end‑to‑end architecture, principles, and code implementation of the dynamic cross‑platform framework (Roma/Dynamic) on HarmonyOS, covering template loading, JS‑C++‑ArkTS instance creation, V‑Dom and Component tree construction, rendering pipeline, view updates, and performance optimizations.

C++HarmonyOSJavaScript
0 likes · 30 min read
Dynamic Cross‑Platform Rendering Architecture and Implementation on HarmonyOS
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.

EChartsJavaScriptPHP
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.

JavaScriptPerformanceTypeScript
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 proposalsJavaScript
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.

CompilationJavaScriptPerformance
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.

AlgorithmC++Garbage Collection
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.

JavaJavaScriptSpring Boot
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.

ComponentJSXJavaScript
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.

JavaScriptReActVue
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.

JavaScriptPythonRefactoring
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/AwaitAsynchronousJavaScript
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.

HarmonyOSJavaScriptSDK
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.

HarmonyOSJavaScriptSDK
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.

GoGojaJavaScript
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/AwaitJavaScriptPolyfill
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.

Code styleComponent ArchitectureJavaScript
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.

IoCJavaScriptdependency injection
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.

BundlerJavaScriptToolchain
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 APIHooksJavaScript
0 likes · 23 min read
Using and Building Custom Hooks in Vue 3
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.

CodingJavaScriptfrontend
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.

ASTAutomationJavaScript
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.

JavaScriptPre-compilationfunctions
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.

CMakeCross-CompilationHarmonyOS
0 likes · 36 min read
Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process
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/AwaitJavaScript
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.

EChartsJavaScriptchart
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.

BabelECMAScriptJavaScript
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.

CSSHTMLJavaScript
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.

AOPCode ExampleDecorator Pattern
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.

BundlerJavaScriptReAct
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