Tagged articles
2421 articles
Page 10 of 25
政采云技术
政采云技术
Mar 21, 2023 · Frontend Development

Understanding the this Binding in JavaScript

This article explains how the this keyword is bound in JavaScript, covering default, implicit, explicit, new, and arrow‑function bindings, and demonstrates the concepts with practical debounce examples and code snippets to show how the calling context determines the value of this.

DebounceJavaScriptclosure
0 likes · 12 min read
Understanding the this Binding in JavaScript
IT Services Circle
IT Services Circle
Mar 21, 2023 · Fundamentals

20 Counterproductive Coding Practices (Satirical Guide)

The article humorously lists twenty counterproductive coding “tips” – from using single‑letter variables and omitting comments to writing one‑line code, ignoring errors, creating unused variables, deep nesting, and skipping tests – claiming these practices boost productivity despite harming readability and reliability.

Anti-PatternsJavaScriptSoftware Development
0 likes · 7 min read
20 Counterproductive Coding Practices (Satirical Guide)
21CTO
21CTO
Mar 20, 2023 · Frontend Development

What’s New in TypeScript 5.0? 50+ Features Boost Speed and Simplicity

TypeScript 5.0 arrives with over 50 new features—including decorators, enhanced ESM support, and expanded JSDoc—while optimizing memory, performance, and bundle size, making the language smaller, simpler, and faster for most developers.

ESMJSDocJavaScript
0 likes · 3 min read
What’s New in TypeScript 5.0? 50+ Features Boost Speed and Simplicity
ByteFE
ByteFE
Mar 20, 2023 · Frontend Development

Understanding the Proposed React “use” Hook: Design, Usage, and Limitations

This article explains the new React "use" hook proposal, covering its background, how to integrate it with Suspense, minimal examples, promise caching, control‑flow usage, design motivations, implementation details, limitations, and the surrounding community debate.

JavaScriptPromiseReact
0 likes · 12 min read
Understanding the Proposed React “use” Hook: Design, Usage, and Limitations
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Mar 17, 2023 · Frontend Development

Top Frontend Tech Insights: IOC, JS Frameworks, Mobile Evolution, and AI Trends

This article curates key front‑end and emerging tech topics—including Inversion of Control in JavaScript, the overload of JS frameworks, Facebook's iOS codebase evolution, GPT‑4's launch, prompt‑engineering automation, and nuanced UI control design—offering concise insights for modern developers.

Artificial IntelligenceIoCJavaScript
0 likes · 4 min read
Top Frontend Tech Insights: IOC, JS Frameworks, Mobile Evolution, and AI Trends
JD Cloud Developers
JD Cloud Developers
Mar 16, 2023 · Frontend Development

Demystifying React Hooks: Inside the Core Implementation

This article explains the core implementation of React Hooks introduced in React 16.8, covering the internal Hook manager, the built‑in Hook functions such as useState, useEffect, useReducer, and provides simplified code examples to illustrate how state and side‑effects are managed within function components.

JavaScripthooksuseEffect
0 likes · 9 min read
Demystifying React Hooks: Inside the Core Implementation
ByteFE
ByteFE
Mar 15, 2023 · Frontend Development

2022 State of CSS and State of JS Survey: Key Findings, Trends, and Developer Pain Points

The 2022 State of CSS and State of JS surveys, which collected 14,310 CSS and 39,472 JavaScript responses, reveal demographic details, highlight rapidly adopted CSS features like flex gap, aspect‑ratio, and :has, showcase popular JavaScript language enhancements such as nullish coalescing and top‑level await, and expose developers' satisfaction, usage, and pain points across frameworks, tools, and browsers.

CSSJavaScriptWeb Development
0 likes · 16 min read
2022 State of CSS and State of JS Survey: Key Findings, Trends, and Developer Pain Points
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 13, 2023 · Frontend Development

Understanding Plugin Systems: Concepts, Types, and Implementation in Front‑end Development

The article explains plugin systems by likening them to interchangeable vacuum‑cleaner heads, outlines their benefits, defines core‑and‑plugin architecture, describes four plugin styles with code examples, and demonstrates building a minimal front‑end calculator plugin framework that emphasizes a stable core and extensible modules.

Design PatternsJavaScriptPlugin System
0 likes · 19 min read
Understanding Plugin Systems: Concepts, Types, and Implementation in Front‑end Development
21CTO
21CTO
Mar 10, 2023 · Frontend Development

7 Emerging JavaScript Frameworks to Boost Web Performance in 2023

This article reviews seven up‑and‑coming JavaScript frameworks—Remix, Blitz, Qwik, RedwoodJS, Svelte, SolidJS, and Vue 3—explaining their key features, performance benefits, and suitability for building faster, more automated web applications in 2023.

ComparisonJavaScriptfrontend frameworks
0 likes · 10 min read
7 Emerging JavaScript Frameworks to Boost Web Performance in 2023
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Mar 3, 2023 · Frontend Development

Essential Frontend Techniques: Module Cycles, Proxy & Reflect, Bug Recording, and Guide Pages

This article curates key frontend topics—including how CommonJS and ES modules handle circular dependencies, why Proxy must be paired with Reflect, practical bug‑recording and source‑code navigation, building guide pages without third‑party libraries, plus a look at clustering algorithms and a powerful CRUD code generator—offering concise insights for modern web developers.

JavaScriptProxyclustering
0 likes · 4 min read
Essential Frontend Techniques: Module Cycles, Proxy & Reflect, Bug Recording, and Guide Pages
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Feb 24, 2023 · Frontend Development

Front‑End Updates: New CSS Viewport Units, MutationObserver, Faster Builds, Vue3 Tips

This roundup highlights recent front‑end developments, including Chrome’s new CSS viewport units, the rise of modern JavaScript frameworks, using MutationObserver for dynamic DOM handling, a simple three‑line tweak that slashes build times by 80%, Vue 3 composition‑API insights, and tips for junior developers.

DevOpsJavaScriptProject Management
0 likes · 5 min read
Front‑End Updates: New CSS Viewport Units, MutationObserver, Faster Builds, Vue3 Tips
Sohu Tech Products
Sohu Tech Products
Feb 22, 2023 · Frontend Development

Using the CSS Custom Highlight API for Text Highlighting, Rainbow Text, Search Highlight, and Code Editors

This article introduces the browser‑native CSS Custom Highlight API, explains its pseudo‑element ::highlight, shows how to create ranges and Highlight objects with JavaScript, and demonstrates practical examples such as custom text styling, rainbow text, live search highlighting, performance comparisons, and a lightweight code‑highlight editor.

CSSCustom Highlight APIJavaScript
0 likes · 16 min read
Using the CSS Custom Highlight API for Text Highlighting, Rainbow Text, Search Highlight, and Code Editors
ByteFE
ByteFE
Feb 22, 2023 · Frontend Development

Recreating the Flash Game “Manufactoria” with HTML, CSS, and JavaScript

This article details how to recreate the Flash programming game 'Manufactoria' as a web-based puzzle by implementing its UI with HTML and CSS and its logic with JavaScript, covering component definitions, grid layout, robot movement, state handling, level loading, and local storage persistence.

CSSGame DevelopmentHTML
0 likes · 23 min read
Recreating the Flash Game “Manufactoria” with HTML, CSS, and JavaScript
21CTO
21CTO
Feb 21, 2023 · Frontend Development

Why JavaScript, AI, and Web3 Still Dominate 2023: Key Trends

The 2023 tech landscape shows JavaScript retaining its top spot, AI tools like Copilot and ChatGPT reshaping development productivity, and Web3 technologies maintaining strong growth, while frontend frameworks such as React, Vue, and Svelte compete for market demand and developer satisfaction.

AIJavaScriptReact
0 likes · 10 min read
Why JavaScript, AI, and Web3 Still Dominate 2023: Key Trends
IT Services Circle
IT Services Circle
Feb 17, 2023 · Fundamentals

Understanding the New Decorator Syntax in TypeScript 5.0: History, Differences, and Practical Examples

This article explores the evolution of JavaScript decorators, the major changes introduced in TypeScript 5.0 beta—including the shift from stage 1 to stage 3 syntax—provides detailed comparisons of class, method, and property decorators, and offers practical code examples for migrating existing code.

JavaScriptStage3TypeScript
0 likes · 18 min read
Understanding the New Decorator Syntax in TypeScript 5.0: History, Differences, and Practical Examples
ByteFE
ByteFE
Feb 13, 2023 · Frontend Development

Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development

This article explains the fundamentals of ESLint, including its purpose, configuration files, AST-based analysis, the SourceCode abstraction, rule template creation, key functions, and the overall linting and fixing workflow, enabling developers to build custom linting plugins for consistent code style.

ASTCustom RulesESLint
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
Taobao Frontend Technology
Taobao Frontend Technology
Feb 9, 2023 · Fundamentals

How AsyncContext Enables Seamless Data Propagation Across JavaScript Async Calls

The article introduces the TC39 Async Context proposal, explains why asynchronous context is needed, shows a library implementation using run and log functions, describes the AsyncContext API with run, get, and wrap methods, and explores use cases such as trace propagation, task‑priority handling, and comparisons with thread‑local storage and Node.js AsyncLocalStorage.

AsyncContextAsyncLocalStorageJavaScript
0 likes · 18 min read
How AsyncContext Enables Seamless Data Propagation Across JavaScript Async Calls
JD Retail Technology
JD Retail Technology
Feb 9, 2023 · Frontend Development

MicroApp V1.0.0‑rc Release: Core Architecture, High‑Performance Sandbox, New Configurations, and Real‑World Use Cases

The MicroApp V1.0.0‑rc release introduces a component‑based micro‑frontend solution with a custom WebComponent‑like architecture, a virtual routing system, a high‑performance sandbox that leverages caching and decoupling, extensive performance benchmarks, new configuration options, lifecycle listeners, and a practical JD marketing‑center case study.

JavaScriptfrontend developmentmicro-frontend
0 likes · 11 min read
MicroApp V1.0.0‑rc Release: Core Architecture, High‑Performance Sandbox, New Configurations, and Real‑World Use Cases
Sohu Tech Products
Sohu Tech Products
Feb 8, 2023 · Frontend Development

JavaScript's Forgotten Keyword: with

The article explains the obscure JavaScript 'with' keyword, demonstrating its syntax and behavior, detailing how it manipulates the scope chain, and outlining the numerous drawbacks—including strict‑mode prohibition, variable shadowing, security risks, performance penalties, and poor maintainability—that make its use inadvisable.

JavaScriptScope ChainWITH
0 likes · 7 min read
JavaScript's Forgotten Keyword: with
DaTaobao Tech
DaTaobao Tech
Feb 8, 2023 · Fundamentals

Performance Evaluation of JavaScript, Lua, and Native Java for Dynamic Scripting

The study compares JavaScript (via the JVM engine), Lua, and pure Java for secure, lightweight dynamic scripting in Java projects, finding that native Java is orders of magnitude faster, JavaScript outperforms Lua in complex loops when the engine is reused, while Lua remains suitable for simple scripts but all scripting options are significantly slower than compiled Java.

JavaScriptLuaScripting
0 likes · 10 min read
Performance Evaluation of JavaScript, Lua, and Native Java for Dynamic Scripting
21CTO
21CTO
Feb 6, 2023 · Frontend Development

12 Essential JavaScript Snippets Every Front‑End Developer Should Know

This article compiles twelve practical JavaScript functions—from generating random colors and shuffling arrays to detecting dark mode, scrolling, clipboard copying, device detection, element visibility, URL parameters, deep cloning, and async waiting—each explained with concise code examples for everyday front‑end development.

JavaScriptWeb Developmentcode snippets
0 likes · 6 min read
12 Essential JavaScript Snippets Every Front‑End Developer Should Know
Tencent Cloud Developer
Tencent Cloud Developer
Feb 3, 2023 · Cloud Computing

Cloud Load Testing: Strategies, Scenarios, and Practice Cases for High‑Traffic Events

Tencent’s cloud load‑testing platform simulates massive Chinese‑New‑Year traffic by offering concurrency and RPS modes, multi‑language test authoring, realistic data generation, and unified OpenTelemetry reporting, enabling early bottleneck detection, proactive scaling, and successful high‑load drills such as Mobile QQ and video services.

JavaScriptLoad TestingMicroservices
0 likes · 23 min read
Cloud Load Testing: Strategies, Scenarios, and Practice Cases for High‑Traffic Events
Sohu Tech Products
Sohu Tech Products
Feb 1, 2023 · Frontend Development

Using the New scrollend Event to Detect When Scrolling Stops

This article explains the newly supported scrollend event, how it replaces unreliable timer‑based scroll‑stop detection, shows practical code examples, lists the conditions under which it fires, discusses browser support, and provides a polyfill for broader compatibility.

JavaScriptWeb APIevent-handling
0 likes · 5 min read
Using the New scrollend Event to Detect When Scrolling Stops
Programmer DD
Programmer DD
Jan 29, 2023 · Fundamentals

What the 2022 JetBrains Developer Ecosystem Survey Reveals About Programming Trends

JetBrains’ 2022 State of Developer Ecosystem survey of over 38,000 developers shows JavaScript remains the most popular language, TypeScript’s usage has tripled, Rust tops the list of promising languages, and shifts in preferred OS, remote work, and developer satisfaction highlight evolving industry trends.

2022 trendsJavaScriptRust
0 likes · 6 min read
What the 2022 JetBrains Developer Ecosystem Survey Reveals About Programming Trends
21CTO
21CTO
Jan 27, 2023 · Fundamentals

Which Programming Languages Dominated the 2022 Job Market? Top 8 Revealed

Based on analysis of over 12 million developer job postings from October 2021 to November 2022, DevJobsScanner identified the eight programming languages with the highest demand in 2022, highlighting JavaScript/TypeScript’s dominance, the rise of Python and Java, and emerging trends for Go, C#, PHP, C/C++, and Ruby.

2022 demandJavaScriptPython
0 likes · 7 min read
Which Programming Languages Dominated the 2022 Job Market? Top 8 Revealed
php Courses
php Courses
Jan 20, 2023 · Frontend Development

Create a Browser Fireworks Animation with HTML, CSS, and JavaScript

This tutorial walks you through building a full‑screen fireworks effect in the browser by structuring the HTML, styling the text and canvas with CSS, and implementing the animation logic using JavaScript's Canvas API, utility functions, and object‑oriented firework and spark classes.

CSSCanvasHTML
0 likes · 16 min read
Create a Browser Fireworks Animation with HTML, CSS, and JavaScript
JavaScript
JavaScript
Jan 19, 2023 · Frontend Development

13 JavaScript Tricks to Write Cleaner, Faster Code

Discover 13 practical JavaScript shortcuts—from using array includes in conditionals to leveraging the spread operator and object shorthand—that dramatically simplify code, improve readability, and boost performance for modern web development.

Code OptimizationJavaScriptTips
0 likes · 5 min read
13 JavaScript Tricks to Write Cleaner, Faster Code
IT Services Circle
IT Services Circle
Jan 13, 2023 · Frontend Development

Why console.log Can Cause Memory Leaks in Frontend JavaScript and How to Diagnose Them

This article explains how using console.log in frontend JavaScript can create memory leaks by retaining object references, demonstrates the issue with Chrome Performance and Memory tools, compares it with code without console.log, and offers alternative debugging techniques such as debugger, logpoints, and breakpoints.

JavaScriptconsole.logmemory leak
0 likes · 7 min read
Why console.log Can Cause Memory Leaks in Frontend JavaScript and How to Diagnose Them
Architecture Digest
Architecture Digest
Jan 12, 2023 · Frontend Development

Comprehensive Guide to Regular Expressions in JavaScript

This article provides a thorough introduction to JavaScript regular expressions, covering their definition, syntax, flags, meta‑characters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, named groups, greedy vs. lazy matching, back‑references, and common pitfalls, all illustrated with clear code examples.

Capturing GroupsJavaScriptRegExp
0 likes · 8 min read
Comprehensive Guide to Regular Expressions in JavaScript
Sohu Tech Products
Sohu Tech Products
Jan 11, 2023 · Frontend Development

Route Guards and the Emerging Navigation API for SPA Routing

This article explains the limitations of using History API for SPA route guards, compares two common workarounds, and introduces the new Navigation API as a more centralized and native solution for handling navigation events, transitions, and abortable fetches in modern front‑end development.

History APIJavaScriptNavigation API
0 likes · 13 min read
Route Guards and the Emerging Navigation API for SPA Routing
Baidu Geek Talk
Baidu Geek Talk
Jan 11, 2023 · Fundamentals

Master JavaScript Regular Expressions: From Basics to Advanced Techniques

This article provides a comprehensive guide to JavaScript regular expressions, covering definition methods, flags, metacharacters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, greedy vs lazy matching, backreferences, and common pitfalls, all illustrated with clear code examples and diagrams.

Coding TipsJavaScriptRegExp
0 likes · 9 min read
Master JavaScript Regular Expressions: From Basics to Advanced Techniques
php Courses
php Courses
Jan 10, 2023 · Frontend Development

Vue 2022 Review and 2023 Roadmap, Plus PHP Live Class Announcement

The article reviews Vue’s 2022 milestones—including the shift to Vue 3, ecosystem growth, and tooling improvements—outlines the 2023 roadmap with smaller, frequent releases, experimental Vapor mode, and also advertises an upcoming PHP online live course with enrollment details.

JavaScriptOnlineCoursePHP
0 likes · 8 min read
Vue 2022 Review and 2023 Roadmap, Plus PHP Live Class Announcement
ByteFE
ByteFE
Jan 9, 2023 · Frontend Development

Understanding JavaScript Date Handling and Comparing Popular Date Libraries

This article examines why native JavaScript Date falls short for time handling, explains time measurement standards and time zones, and compares four major date libraries—MomentJS, DayJS, date-fns, and native Date—highlighting their advantages, drawbacks, and appropriate usage scenarios.

DayjsJavaScriptMomentJS
0 likes · 12 min read
Understanding JavaScript Date Handling and Comparing Popular Date Libraries
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Jan 6, 2023 · Frontend Development

Top Frontend Tech & Architecture Articles You Shouldn't Miss

A curated collection of recent frontend articles covering a code‑submission script, the Remesh DDD framework, CSRF security basics, GraphQL BFF implementation for cloud music, build‑time reduction tricks, and the Intl.Enumeration proposal reaching Stage 4, offering valuable insights for web developers.

Build OptimizationGraphQLJavaScript
0 likes · 3 min read
Top Frontend Tech & Architecture Articles You Shouldn't Miss
DaTaobao Tech
DaTaobao Tech
Jan 4, 2023 · Frontend Development

SSR Implementation in Rax for E-commerce Performance Optimization

The guide explains how to implement Server‑Side Rendering in a Rax‑based e‑commerce car platform, replacing client‑side rendering to fix white‑screen and performance issues by simulating the browser environment with jsdom, handling data requests, null API fields, and auto‑closing tag discrepancies, while outlining architecture, middleware, and future CSR‑SSR integration.

JavaScriptRax FrameworkSSR
0 likes · 10 min read
SSR Implementation in Rax for E-commerce Performance Optimization
Bilibili Tech
Bilibili Tech
Jan 3, 2023 · Frontend Development

Understanding JavaScript Promises: Concepts, Implementation, and Practical Use Cases

The article traces JavaScript promises from their 1988 origins and early libraries through the Promise/A+ spec and ES6 implementation, explains core rules, demonstrates practical rewrites using chaining, async/await, error handling, cancellation patterns, and parallel execution with Promise.all, offering guidance for robust asynchronous code.

Code ExamplesFront-endJavaScript
0 likes · 17 min read
Understanding JavaScript Promises: Concepts, Implementation, and Practical Use Cases
ByteFE
ByteFE
Dec 28, 2022 · Frontend Development

Understanding Web Components: Features, Lifecycle, and Integration with Modern Frameworks

This article explains what Web Components are, details their core features such as Custom Elements, Shadow DOM, and HTML templates, demonstrates practical usage with React, Vue, and micro‑frontend scenarios, compares them to traditional frameworks, and discusses advantages, limitations, and related tools like Lit and Omi.

JavaScriptMicro FrontendsShadow DOM
0 likes · 57 min read
Understanding Web Components: Features, Lifecycle, and Integration with Modern Frameworks
php Courses
php Courses
Dec 27, 2022 · Fundamentals

2022 Top 8 Programming Languages by Developer Job Demand

The 2022 DevJobsScanner analysis of over 12 million developer job postings reveals JavaScript/TypeScript as the most demanded language followed by Python, Java, C#, PHP, C/C++, Ruby and Go, and concludes with a promotional announcement for a new PHP online live class.

2022JavaScriptPHP
0 likes · 7 min read
2022 Top 8 Programming Languages by Developer Job Demand
37 Interactive Technology Team
37 Interactive Technology Team
Dec 26, 2022 · Frontend Development

How Does Webpack 4 Hot Module Replacement Work? A Deep Dive

This article explains Webpack 4’s hot module replacement feature, covering the compilation process, dev‑server setup, entry configuration, websocket communication, the role of HotModuleReplacementPlugin, and the detailed steps of detecting changes, downloading updates via JSONP, and applying updated modules in the browser.

Frontend BuildHot Module ReplacementJavaScript
0 likes · 14 min read
How Does Webpack 4 Hot Module Replacement Work? A Deep Dive
DeWu Technology
DeWu Technology
Dec 23, 2022 · Frontend Development

Frontend Unit Testing as Documentation: Challenges and Practices

The team combats outdated documentation and costly front‑end maintenance by treating unit tests for the use‑case layer as living documentation, using BDD‑style Given‑When‑Then tests that assert only observable behavior, which improves code readability, eases onboarding, and provides a reliable safety net for future changes.

BDDClean ArchitectureJavaScript
0 likes · 13 min read
Frontend Unit Testing as Documentation: Challenges and Practices
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Dec 23, 2022 · Frontend Development

Build the Ultimate Front-End Monitoring System & Master Advanced JS Tricks

It introduces a series of front‑end engineering articles covering comprehensive monitoring architecture, CSS‑based click throttling, drag‑and‑drop implementation, 30 essential JavaScript concepts, and a simple responsive data‑dashboard solution, aiming to deepen developers’ skills and showcase resume‑worthy expertise.

JavaScriptUIWeb Development
0 likes · 3 min read
Build the Ultimate Front-End Monitoring System & Master Advanced JS Tricks
Baidu Geek Talk
Baidu Geek Talk
Dec 21, 2022 · Backend Development

Understanding Node.js: Architecture, Event Loop, and Asynchronous I/O

Node.js is a server‑side JavaScript runtime built on V8 that replaces the browser environment with native libraries, uses libuv’s event loop and thread pool to provide non‑blocking asynchronous I/O, and organizes its architecture into application code, V8, bindings, and libuv layers for efficient backend development.

JavaScriptNode.jsasynchronous I/O
0 likes · 16 min read
Understanding Node.js: Architecture, Event Loop, and Asynchronous I/O
Liulishuo Tech Team
Liulishuo Tech Team
Dec 20, 2022 · Frontend Development

Introduction to HTML5 Canvas: Basics, Usage, and Practical Examples

This article introduces HTML5 Canvas, explains its advantages over SVG, and provides comprehensive guidance on using the Canvas API—including context acquisition, drawing shapes, paths, arcs, gradients, pixel manipulation, state management, transformations, and a complete clock example—illustrated with code snippets and visual demos.

2D GraphicsCanvasHTML5
0 likes · 14 min read
Introduction to HTML5 Canvas: Basics, Usage, and Practical Examples
ByteFE
ByteFE
Dec 16, 2022 · Frontend Development

Curated Technical Insights: Vite 4 Release, Overdesign Pitfalls, Node.js Automation, React Native Monorepo, Chrome Memory/Energy Modes, First Principles Thinking, WebRTC Face Recognition, JavaScript Best Practices, and Web Workers

This newsletter presents a collection of technical articles covering the Vite 4 release, the dangers of over‑design, building Node.js automation workflows, React Native monorepo practices, Chrome's memory and energy saver modes, first‑principles thinking for engineers, WebRTC face‑recognition implementation, JavaScript best practices, and an overview of Web Workers.

JavaScriptNode.jsReact Native
0 likes · 8 min read
Curated Technical Insights: Vite 4 Release, Overdesign Pitfalls, Node.js Automation, React Native Monorepo, Chrome Memory/Energy Modes, First Principles Thinking, WebRTC Face Recognition, JavaScript Best Practices, and Web Workers
KooFE Frontend Team
KooFE Frontend Team
Dec 15, 2022 · Frontend Development

How to Avoid Common React useState Mistakes and Write Cleaner Code

This article explains frequent misuse patterns of React's useState hook—redundant, duplicate, contradictory, and over‑reliance on useEffect—showing why they hurt readability and maintenance, and provides concise refactor solutions using derived state, IDs, and useReducer.

JavaScriptReactuseState
0 likes · 14 min read
How to Avoid Common React useState Mistakes and Write Cleaner Code
ELab Team
ELab Team
Dec 14, 2022 · Frontend Development

Mastering ESLint: How AST Powers Code Linting and Custom Rules

This article explores the fundamentals of ESLint, explaining how it leverages abstract syntax trees (AST) to enforce code style, detect errors, and enable custom rule creation, while providing practical configuration examples, code snippets, and insights into the underlying processing pipeline.

ASTCustom RulesESLint
0 likes · 16 min read
Mastering ESLint: How AST Powers Code Linting and Custom Rules
37 Interactive Technology Team
37 Interactive Technology Team
Dec 12, 2022 · Frontend Development

Understanding the JavaScript "this" Keyword: From Basics to Deep Insights

This article demystifies JavaScript’s this keyword by covering its runtime binding rules in global, function, method, constructor, prototype, and arrow contexts, explaining strict‑mode differences, call/apply/bind usage, event‑handler behavior, and the underlying ECMAScript reference mechanics that determine its value.

Arrow FunctionsJavaScriptcall apply bind
0 likes · 16 min read
Understanding the JavaScript "this" Keyword: From Basics to Deep Insights
ByteFE
ByteFE
Dec 12, 2022 · Frontend Development

Understanding JavaScript Asynchronous Mechanisms and the Event Loop

This article explains why JavaScript, despite being single‑threaded, needs asynchronous mechanisms such as the event loop, details macro‑ and micro‑tasks, compares browser and Node.js implementations, and demonstrates common pitfalls and best practices using callbacks, Promise, generator, and async/await patterns.

AsyncJavaScriptNode.js
0 likes · 16 min read
Understanding JavaScript Asynchronous Mechanisms and the Event Loop
KooFE Frontend Team
KooFE Frontend Team
Dec 8, 2022 · Fundamentals

Boost Your Coding Skills with CodinGame’s Interactive Challenges

CodinGame turns programming puzzles into games, letting you write code that instantly visualizes results, learn basic JavaScript logic like selecting the nearest enemy, and explore a variety of difficulty levels across multiple languages while enjoying a fun, gamified learning experience.

JavaScriptalgorithm practicecoding games
0 likes · 3 min read
Boost Your Coding Skills with CodinGame’s Interactive Challenges
ELab Team
ELab Team
Dec 7, 2022 · Frontend Development

Mastering AST: How Frontend Compilers Transform Code with Babel

This article explains the fundamentals of abstract syntax trees (AST) in frontend development, covering their generation, role in code transformation, and practical use of Babel plugins to instrument and modify JavaScript code, with detailed examples and code snippets.

ASTJavaScriptbabel
0 likes · 13 min read
Mastering AST: How Frontend Compilers Transform Code with Babel
MoonWebTeam
MoonWebTeam
Dec 4, 2022 · Frontend Development

Why Svelte Beats Vue3 and React: Real-World Performance Gains and Core Mechanics

This article presents a comprehensive investigation of Svelte, detailing its dramatic bundle size reduction, performance improvements, compilation-based architecture, core implementation, advantages, drawbacks, and practical usage guidelines, supported by real project data, npm and GitHub statistics, and code examples to help developers confidently adopt Svelte.

CompilationJavaScriptSvelte
0 likes · 30 min read
Why Svelte Beats Vue3 and React: Real-World Performance Gains and Core Mechanics
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Dec 2, 2022 · Frontend Development

Essential Frontend Techniques: Tree‑Shaking, Code Readability, and Performance Hacks

Explore a curated collection of frontend articles covering bundler tree‑shaking, code readability tricks, precision handling with big.js, hidden CSS features, Apple‑style scrolling effects, ready‑made visual dashboard demos, and performance insights like reducing jank and mastering LightHouse workflows.

JavaScriptbundlingfrontend
0 likes · 4 min read
Essential Frontend Techniques: Tree‑Shaking, Code Readability, and Performance Hacks
21CTO
21CTO
Dec 1, 2022 · Frontend Development

Say Goodbye to Bad JavaScript Practices: 8 Essential Tips for Clean Code

This article outlines eight practical JavaScript habits—using let/const, writing meaningful comments, preferring == over ===, leveraging optional chaining, avoiding magic values, handling async errors, passing multiple parameters instead of a single object, and using concise conditionals—to produce more maintainable, readable, and robust code.

Error HandlingJavaScriptclean code
0 likes · 7 min read
Say Goodbye to Bad JavaScript Practices: 8 Essential Tips for Clean Code
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 30, 2022 · Frontend Development

Building an Interactive 3D Phone Showcase with Three.js Multimedia Elements (Text, Image, Audio, Video)

This article explains how to use Three.js to create a realistic 3D phone product page by loading and applying multimedia assets such as custom fonts, textures, audio sources, and video textures, and demonstrates interactive features like ray‑casting for material switching and first‑person controls.

3DJavaScriptMultimedia
0 likes · 19 min read
Building an Interactive 3D Phone Showcase with Three.js Multimedia Elements (Text, Image, Audio, Video)
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 29, 2022 · Frontend Development

Comprehensive Guide to Using Entity and Primitive Methods for 3D Earth Visualization with Cesium

This article provides an in‑depth tutorial on creating and customizing Cesium entities and primitives—including boxes, points, and various geometric shapes—explaining their properties, visual attributes, performance considerations, and offering complete JavaScript code examples for interactive 3D earth visualizations.

3d-visualizationCesiumEntity
0 likes · 18 min read
Comprehensive Guide to Using Entity and Primitive Methods for 3D Earth Visualization with Cesium
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 25, 2022 · Frontend Development

Vue Compiler Overview and Sandbox Compilation Techniques

This article explores the fundamentals of Vue's compilation process, compares Vue 2 and Vue 3 compilers, demonstrates sandbox compilation with code examples, and discusses practical considerations such as handling templates, scripts, styles, and hot‑module reloading, providing developers with insights to effectively integrate Vue compilation in browser environments.

JavaScriptVuecompiler
0 likes · 17 min read
Vue Compiler Overview and Sandbox Compilation Techniques
ELab Team
ELab Team
Nov 25, 2022 · Artificial Intelligence

How to Build a Real‑Time Virtual Avatar with CNN and face‑api.js

This tutorial explains how to create a simple virtual avatar system by combining convolutional neural networks, the face‑api.js library, and WebRTC, covering CNN fundamentals, face detection, landmark extraction, model selection, and rendering techniques with code examples.

CNNFace DetectionJavaScript
0 likes · 13 min read
How to Build a Real‑Time Virtual Avatar with CNN and face‑api.js
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 23, 2022 · Frontend Development

Implementing a Camera and View Matrix in WebGL

This article explains how to create a Camera class in WebGL, compute view and rotation matrices using lookAt, apply them to render a cube from arbitrary positions, and discusses why parts of the cube may be clipped when the camera is placed at [0.5,0.5,0.5].

3DGraphicsCameraJavaScript
0 likes · 14 min read
Implementing a Camera and View Matrix in WebGL
ByteFE
ByteFE
Nov 21, 2022 · Frontend Development

Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices

This article provides a comprehensive overview of JavaScript Promises, covering their definition, states, basic usage, error handling, chaining, common APIs, best practices, advanced scenarios such as preloading and cancellation, as well as manual implementation techniques, to help front‑end developers deepen their asynchronous programming skills.

AsyncError HandlingJavaScript
0 likes · 25 min read
Understanding and Mastering JavaScript Promises: Basics, Advanced Usage, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 18, 2022 · Frontend Development

Creating a Glowing Portal Effect in Three.js with Post‑Processing

This article demonstrates how to use Three.js post‑processing techniques, including EffectComposer, RenderPass, BloomPass, and custom shaders, to build an animated 3D scene featuring a glowing portal and Rick and Morty model, covering shader setup, layer management, animation, and UI controls for fine‑tuning.

3D animationJavaScriptShader
0 likes · 24 min read
Creating a Glowing Portal Effect in Three.js with Post‑Processing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 16, 2022 · Frontend Development

Understanding Vite: A Comprehensive Guide to Its Advantages Over Webpack

This article explains what build tools are, compares Vite and Webpack in terms of performance and architecture, and details Vite's features such as dependency pre‑bundling, CSS handling, static asset imports, TypeScript support, environment variables, and production build configuration, providing practical code examples for frontend developers.

JavaScriptTypeScriptfrontend
0 likes · 14 min read
Understanding Vite: A Comprehensive Guide to Its Advantages Over Webpack
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 15, 2022 · Frontend Development

Understanding requestAnimationFrame: Usage, Timing, Performance, and Compatibility

This article explains the requestAnimationFrame API, demonstrates basic and cancelable animation examples, discusses its execution timing within the browser frame lifecycle, compares its performance to setTimeout, covers compatibility and polyfills, and shows how to wrap it in a React hook for practical use.

JavaScriptPolyfillReact
0 likes · 11 min read
Understanding requestAnimationFrame: Usage, Timing, Performance, and Compatibility
ELab Team
ELab Team
Nov 12, 2022 · Frontend Development

Build Your Own Mini Webpack: A Step‑by‑Step Guide to Single‑Entry Bundling

This article walks through creating a minimal webpack implementation that bundles a single entry file, covering prerequisite knowledge, initialization parameters, compilation steps, loader handling, dependency resolution, chunk creation, and file generation, complete with code examples and explanations.

Build ToolBundlerJavaScript
0 likes · 12 min read
Build Your Own Mini Webpack: A Step‑by‑Step Guide to Single‑Entry Bundling
GuanYuan Data Tech Team
GuanYuan Data Tech Team
Nov 10, 2022 · Frontend Development

How to Build Plugin‑Based Custom Charts with Web Components in a React Data Platform

This article explains why a data‑analysis platform needs a plugin architecture for custom charts, compares iframe‑based and Web Components approaches, shows how to implement a lightweight ECharts‑based chart plugin, and provides step‑by‑step code samples and technical selection criteria for frontend developers.

Custom ChartsEChartsJavaScript
0 likes · 17 min read
How to Build Plugin‑Based Custom Charts with Web Components in a React Data Platform
Huolala Tech
Huolala Tech
Nov 10, 2022 · Frontend Development

Seamlessly Migrate Taro 2.x to 3.x with Babel AST Transformations

This article explains how to upgrade Taro 2.x projects to Taro 3.x by converting source code into an AST using Babel, programmatically editing imports, configs, routers, and styles, and then generating the updated code, complete with practical code examples and migration tips.

ASTJavaScriptTaro
0 likes · 14 min read
Seamlessly Migrate Taro 2.x to 3.x with Babel AST Transformations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding JavaScript Prototype Chain Through the ECMAScript Specification

This article delves into the ECMAScript specification to precisely explain how JavaScript's prototype chain and property lookup work, covering essential internal methods like [[Get]], property descriptors, reference records, and the role of the Receiver parameter, with illustrative code examples and diagrams.

ECMAScript SpecificationInternal MethodsJavaScript
0 likes · 15 min read
Understanding JavaScript Prototype Chain Through the ECMAScript Specification
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding JavaScript Variable Lookup and Scope from the ECMAScript Specification and V8 Engine Perspective

The article explains how JavaScript variable lookup and lexical scope are determined during compilation by the V8 engine, covering the language's compiled‑and‑interpreted nature, JIT optimizations, AST generation, lazy parsing, dynamic lookups, and bytecode creation to demystify runtime performance.

CompilationECMAScriptJIT
0 likes · 14 min read
Understanding JavaScript Variable Lookup and Scope from the ECMAScript Specification and V8 Engine Perspective
ByteFE
ByteFE
Nov 8, 2022 · Frontend Development

Understanding the JavaScript Event Loop in Browsers and Node.js

This article explains the fundamentals of JavaScript's event loop, covering browser asynchronous execution, macro‑ and micro‑tasks, timer inaccuracies, view rendering, and the differences in Node.js implementation, while providing code examples to illustrate execution order and practical implications for developers.

AsyncJavaScriptNode.js
0 likes · 18 min read
Understanding the JavaScript Event Loop in Browsers and Node.js
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Nov 4, 2022 · Frontend Development

Top Frontend Tech Insights: WebCodecs Export, Node.js Debugging, JS Error Handling & More

This article curates the latest frontend engineering practices, covering WebCodecs video export, a Node.js troubleshooting guide, JavaScript error handling tips, Apple‑style scroll effects, Turbopack performance benchmarks, monorepo strategies, large‑scale system design, and productivity measurement at Google, all aimed at boosting developer expertise.

JavaScriptMonorepoScalability
0 likes · 4 min read
Top Frontend Tech Insights: WebCodecs Export, Node.js Debugging, JS Error Handling & More
ByteFE
ByteFE
Nov 2, 2022 · Frontend Development

Understanding WebXR: API Overview, Device Interaction, and VR/AR Development

This article explains the WebXR standard for rendering 3D scenes in browsers, covers its history, browser support, step‑by‑step usage with WebGL, details the WebXR Device API objects such as XRSystem, XRSession, XRReferenceSpace, and demonstrates a panoramic VR image viewer with full code examples.

ARJavaScriptVR
0 likes · 25 min read
Understanding WebXR: API Overview, Device Interaction, and VR/AR Development
php Courses
php Courses
Nov 2, 2022 · Backend Development

Three Methods to Implement Page Redirection in PHP

This article explains three PHP techniques for page redirection—using the header() function, outputting a JavaScript location.href script, and inserting a META refresh tag—each with code examples and explanations of how they work and when to use them.

JavaScriptPHP
0 likes · 3 min read
Three Methods to Implement Page Redirection in PHP
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 2, 2022 · Frontend Development

How Upgrading to Webpack 5 Slashed Build Times by 60% in a Large Music App

This guide details how a massive music‑artist web application reduced its full build time from 140 seconds to 55 seconds and its incremental compile time from up to 80 seconds down to about 1 second by migrating from Webpack 4 to Webpack 5, including preparation steps, configuration changes, and common pitfalls.

Build OptimizationJavaScriptMigration Guide
0 likes · 17 min read
How Upgrading to Webpack 5 Slashed Build Times by 60% in a Large Music App
ELab Team
ELab Team
Oct 28, 2022 · Mobile Development

How to Capture Real‑Time Heart Rate Data in a Taro Mini‑Program Using BLE

This tutorial walks through building a Taro mini‑program that connects to a BLE heart‑rate strap, discovers services and characteristics, reads device name and heart‑rate measurements, and handles data conversion, providing code examples and practical insights for mobile developers.

BLEBluetoothHeart Rate
0 likes · 14 min read
How to Capture Real‑Time Heart Rate Data in a Taro Mini‑Program Using BLE
Meituan Technology Team
Meituan Technology Team
Oct 27, 2022 · Fundamentals

An Introduction to Functional Programming in JavaScript

This article offers a concise introduction to functional programming’s history, core concepts such as currying, composition, and immutability, and demonstrates their implementation in JavaScript using arrow functions and utilities like curry, compose, pipe, and map, while comparing functional and object‑oriented approaches.

CurryingHigher-Order FunctionsJavaScript
0 likes · 21 min read
An Introduction to Functional Programming in JavaScript
vivo Internet Technology
vivo Internet Technology
Oct 26, 2022 · Frontend Development

Migrating WePY Mini‑Program to UniApp: Compiler Design and Implementation

The Vivo front‑end team built a custom compiler that automatically transforms WePY mini‑program files—including templates, scripts, components, and pages—into UniApp Vue code, cutting the estimated 25‑person‑day migration to seconds, delivering a bug‑free launch and paving the way for open‑sourcing the tool.

JavaScriptUniappbabel
0 likes · 32 min read
Migrating WePY Mini‑Program to UniApp: Compiler Design and Implementation
Sohu Tech Products
Sohu Tech Products
Oct 19, 2022 · Fundamentals

Understanding the JavaScript Event Loop in Browsers and Node.js

This article explains the fundamentals of JavaScript's event loop, covering single‑threaded execution, the role of macro‑tasks and micro‑tasks, differences between browser and Node.js implementations, and includes code examples that illustrate task scheduling and execution order.

AsyncJavaScriptNode.js
0 likes · 17 min read
Understanding the JavaScript Event Loop in Browsers and Node.js
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 18, 2022 · Frontend Development

Implementing Vue 3 Computed API from Scratch

This article explains how to recreate Vue 3's computed API using the composition API, covering getter/setter handling, effect integration, caching with a dirty flag, dependency tracking, and trigger mechanisms, and provides step‑by‑step code examples to build a functional ComputedRef implementation.

Composition APIJavaScriptReactivity
0 likes · 10 min read
Implementing Vue 3 Computed API from Scratch
Bilibili Tech
Bilibili Tech
Oct 18, 2022 · Frontend Development

Building a Slate.js Rich Text Editor: Toolbar, Lists, and Image Upload

This tutorial walks through the practical steps of extending a Slate.js rich‑text editor with toolbar actions, multi‑level list handling, and a robust image‑upload solution, providing code snippets, implementation details, and design considerations for each feature.

JavaScriptListsReact
0 likes · 12 min read
Building a Slate.js Rich Text Editor: Toolbar, Lists, and Image Upload
Laravel Tech Community
Laravel Tech Community
Oct 17, 2022 · Frontend Development

Avue.js v2.10.2 Release Overview and Features

The Avue.js framework, a lightweight wrapper of Element UI that emphasizes data‑driven views, introduces version 2.10.2 with new input components, several optimizations, and bug fixes while maintaining ES5 browser compatibility and offering high reusability for table and form scenarios.

Avue.jsElement UIJavaScript
0 likes · 3 min read
Avue.js v2.10.2 Release Overview and Features
ByteFE
ByteFE
Oct 15, 2022 · Frontend Development

Curated Frontend Development Insights: Architecture, Frameworks, WebRTC, Edge Computing, and Practical Patterns

This curated collection presents expert reflections on frontend architecture, surveys the latest JavaScript frameworks, explores micro‑frontend style isolation, explains WebRTC fundamentals, highlights edge‑centric web performance, and offers practical guides on native drag‑and‑drop and the publish‑subscribe design pattern.

Design PatternsJavaScriptWebRTC
0 likes · 6 min read
Curated Frontend Development Insights: Architecture, Frameworks, WebRTC, Edge Computing, and Practical Patterns