Tagged articles

frontend

3211 articles · Page 7 of 33
Code Mala Tang
Code Mala Tang
Oct 8, 2024 · Frontend Development

Avoid Spaghetti Code in Vue 3: When to Use watch vs computed

This article analyzes common misuse of Vue 3's watch for handling both synchronous and asynchronous updates, demonstrates how excessive watchers create spaghetti code, and shows how refactoring with computed can streamline logic, improve maintainability, and help new team members onboard faster.

Vuecode qualitycomputed
0 likes · 7 min read
Avoid Spaghetti Code in Vue 3: When to Use watch vs computed
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
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
Code Mala Tang
Code Mala Tang
Oct 1, 2024 · Frontend Development

How React Hook Form Cuts Boilerplate and Boosts Performance

This article explains how React Hook Form, a React‑hooks‑based library, reduces form boilerplate, improves readability, and optimizes performance through built‑in validation, smart dependency tracking, and minimal re‑renders, providing code examples and a deep dive into its register implementation.

Form ValidationPerformanceReact Hook Form
0 likes · 16 min read
How React Hook Form Cuts Boilerplate and Boosts Performance
Top Architect
Top Architect
Sep 29, 2024 · Frontend Development

Understanding Same‑Origin Policy and CORS in Frontend Development

This article explains the fundamentals of the same‑origin policy, the security risks it mitigates, and how CORS and preflight requests work in browsers, illustrating the concepts with diagrams, header details, and a complete request flow chart.

frontendhttpsame-origin
0 likes · 16 min read
Understanding Same‑Origin Policy and CORS in Frontend Development
KooFE Frontend Team
KooFE Frontend Team
Sep 28, 2024 · Frontend Development

Why Early Returns Make React Component Composition Cleaner

The article explains how treating UI as composable components, avoiding tangled conditional rendering, and using early returns can reduce cognitive load, improve type inference, and make React code easier to extend and maintain.

Component CompositionConditional RenderingEarly Return
0 likes · 11 min read
Why Early Returns Make React Component Composition Cleaner
DaTaobao Tech
DaTaobao Tech
Sep 27, 2024 · Frontend Development

Scalable Front-End Architecture for Marketing Tools: Component Reuse and Micro‑Frontend Design

To meet soaring marketing‑tool demand with limited front‑end staff, the team built a three‑layer, micro‑frontend architecture—page container, scenario template, and business customization—augmented by a plugin‑style micro‑kernel, enabling over 50 % faster development, consistent UI, and configurable blocks, while acknowledging added complexity and performance trade‑offs.

Web Developmentarchitecturecomponent reuse
0 likes · 18 min read
Scalable Front-End Architecture for Marketing Tools: Component Reuse and Micro‑Frontend Design
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 26, 2024 · Frontend Development

Step‑by‑Step Guide to Building a Vite‑Based Vue Component Library with Custom Build and TypeScript Support

This article walks through creating a Vue component library using Vite, reorganizing the project structure, configuring aliases, writing reusable components with a global install helper, setting up routing, customizing Vite build outputs, generating TypeScript declarations, and documenting the library with VitePress.

TypeScriptViteVue
0 likes · 13 min read
Step‑by‑Step Guide to Building a Vite‑Based Vue Component Library with Custom Build and TypeScript Support
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
Architect
Architect
Sep 25, 2024 · Frontend Development

Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?

This article analyzes the reasons for preferring EventSource instead of WebSocket in a browser‑based ChatGPT chat system, covering protocol basics, system characteristics, advantages, code examples, performance trade‑offs, and future extensibility.

ChatGPTEventSourceNode.js
0 likes · 9 min read
Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?
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.

ASTJavaScriptVue
0 likes · 20 min read
Automated AST-Based Code Migration for Vue Front‑End Projects
Ctrip Technology
Ctrip Technology
Sep 23, 2024 · Frontend Development

Intelligent Alert Attribution System for Ctrip Hotel Frontend: Design, Implementation, and Outcomes

This article details the design and deployment of an intelligent alert attribution system for Ctrip Hotel's front‑end, describing the background challenges, the unified data pool, weighted alert rules, three attribution algorithms, achieved improvements in accuracy and troubleshooting speed, and future enhancement plans.

AlertAttributionData Pipeline
0 likes · 18 min read
Intelligent Alert Attribution System for Ctrip Hotel Frontend: Design, Implementation, and Outcomes
Goodme Frontend Team
Goodme Frontend Team
Sep 23, 2024 · Frontend Development

How We Built a Scalable Low‑Code Platform for Store Screens and TV Displays

This article details the design and evolution of a low‑code platform used for electronic menu and TV screens in retail stores, covering architecture diagrams, component decomposition, material market, plugin system, schema compatibility, data fetching optimizations, and resource caching strategies to improve scalability and stability.

ComponentSDKarchitecture
0 likes · 22 min read
How We Built a Scalable Low‑Code Platform for Store Screens and TV Displays
Bilibili Tech
Bilibili Tech
Sep 20, 2024 · Frontend Development

Bilibili Front‑End Error Monitoring: Architecture, SDK, White‑Screen Detection and Data Governance

Bilibili’s front‑end team built a custom “mirror” SDK and full‑stack monitoring platform that captures JavaScript and resource errors, detects white‑screens, logs user behavior offline, routes data through Kafka‑ClickHouse pipelines to visual dashboards, and provides one‑click alerts, now serving over 1,700 projects across 85% of business lines.

SDKalertingdata visualization
0 likes · 33 min read
Bilibili Front‑End Error Monitoring: Architecture, SDK, White‑Screen Detection and Data Governance
JD Tech
JD Tech
Sep 20, 2024 · Frontend Development

Flex Layout and Dynamic UI Development in JD Financial Application

This article explains how JD Financial's dynamic UI framework uses standard Flex layout (with Yoga as a cross‑platform engine) to build responsive container and item structures, details common Flex properties, list and absolute layouts, view visibility controls, and provides practical troubleshooting guidance for complex layouts.

UI DevelopmentYoga Layoutflex layout
0 likes · 18 min read
Flex Layout and Dynamic UI Development in JD Financial Application
DaTaobao Tech
DaTaobao Tech
Sep 18, 2024 · Frontend Development

From Code to Browser: Front‑End Development, Build, and Deployment

Front‑end development transforms a URL request into a rendered page by downloading HTML, CSS, and JavaScript, building the DOM and CSSOM, executing scripts, constructing a render tree, then performing layout and paint, while modern workflows use component frameworks, build tools for bundling and minification, versioned or hashed assets with long‑term CDN caching, and non‑overlapping gray‑release deployments to ensure smooth updates.

Build ToolsWeb Developmentcaching
0 likes · 14 min read
From Code to Browser: Front‑End Development, Build, and Deployment
IT Services Circle
IT Services Circle
Sep 16, 2024 · Frontend Development

Is Frontend Development Really Simple? A Ten‑Year Perspective

Drawing on a decade of front‑end experience, the article explains why many developers mistakenly view front‑end work as simple, explores the hidden complexity of modern web technologies, cross‑platform development, and the importance of strong fundamentals, while urging respect for the role.

Complexitycross‑platformfrontend
0 likes · 7 min read
Is Frontend Development Really Simple? A Ten‑Year Perspective
Architecture and Beyond
Architecture and Beyond
Sep 14, 2024 · R&D Management

How Does Technical Debt Affect Development Costs and What Strategies Can Tame It?

This article explains the concept of technical debt, its various classifications, the distinct impacts on front‑end and back‑end development, the multi‑dimensional cost consequences, and practical governance methods—including identification, prioritisation, repayment planning and preventive measures—to help teams manage and reduce debt effectively.

R&D managementSoftware Architecturebackend
0 likes · 30 min read
How Does Technical Debt Affect Development Costs and What Strategies Can Tame It?
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
大转转FE
大转转FE
Sep 13, 2024 · Frontend Development

Building 1v1 and Multi‑Party WebRTC Calls: From Demo to Architecture

This article walks through creating a basic 1v1 WebRTC audio‑video demo with Vue, then expands to detailed code explanations for call setup, media handling, data channels, and explores multi‑party architectures (Mesh, SFU, MCU), discussing their trade‑offs, deployment challenges, and practical solutions for production environments.

MCUReal‑time communicationSFU
0 likes · 19 min read
Building 1v1 and Multi‑Party WebRTC Calls: From Demo to Architecture
Code Mala Tang
Code Mala Tang
Sep 11, 2024 · Frontend Development

Mastering Deep Cloning in JavaScript with structuredClone()

This article explains how the new global function structuredClone() provides a reliable, fast, and simple way to deep‑clone JavaScript objects—including nested structures, circular references, and undefined values—outperforming traditional JSON or manual recursion methods.

Performancedeep cloningfrontend
0 likes · 9 min read
Mastering Deep Cloning in JavaScript with structuredClone()
Java Tech Enthusiast
Java Tech Enthusiast
Sep 10, 2024 · Frontend Development

Prefer const over let in modern JavaScript/TypeScript

Modern JavaScript/TypeScript development should default to using const instead of let, because const enforces immutability, improves readability, and avoids bugs, while let is reserved only for truly mutable cases such as loop counters, with tools like ESLint’s prefer‑const rule helping enforce this practice.

TypeScriptbest practicesconst
0 likes · 7 min read
Prefer const over let in modern JavaScript/TypeScript
ByteDance Web Infra
ByteDance Web Infra
Sep 10, 2024 · Frontend Development

Rsbuild 1.0 Release: A Fast, TypeScript‑Friendly Frontend Build Tool Powered by Rspack

Rsbuild 1.0, built on the high‑performance Rspack engine, offers a lightweight, easy‑to‑use TypeScript‑friendly API, dramatically faster dev/startup times, fewer dependencies, and a rich plugin ecosystem, positioning it as the most efficient modern frontend build tool compared to CRA, Vite, and Rspack CLI.

PerformanceRsbuildRspack
0 likes · 12 min read
Rsbuild 1.0 Release: A Fast, TypeScript‑Friendly Frontend Build Tool Powered by Rspack
JD Cloud Developers
JD Cloud Developers
Sep 9, 2024 · Frontend Development

How AIGCDesign Revolutionizes Cross‑Platform AI Component Development

This article explains the motivation, research, architecture, implementation details, lifecycle hooks, configuration options, multi‑framework support, and future directions of AIGCDesign, a cross‑platform AI component library built with Taro, React, Vue and native technologies, including code examples and streaming techniques.

AIGCTaROcomponent library
0 likes · 16 min read
How AIGCDesign Revolutionizes Cross‑Platform AI Component Development
JD Tech Talk
JD Tech Talk
Sep 9, 2024 · Frontend Development

AIGCDesign: A Cross‑Platform Frontend AI Component Library and Its Technical Implementation

The article introduces AIGCDesign, a cross‑platform frontend component library that leverages AI generation capabilities, explains its motivation, research of existing solutions, architectural layers, lifecycle hooks, configuration examples, multi‑framework support, business integration cases, and future stream‑processing enhancements.

AIAIGCReAct
0 likes · 15 min read
AIGCDesign: A Cross‑Platform Frontend AI Component Library and Its Technical Implementation
Java Backend Technology
Java Backend Technology
Sep 9, 2024 · Frontend Development

How JSON Hero Transforms JSON Viewing for Developers

JSON Hero is a lightweight, feature‑rich tool that offers multiple visualizations of JSON data, easy local installation, direct web usage, searchable tree structures, and shareable links, making JSON inspection and editing faster and more intuitive for developers.

VS CodeViewerWeb Development
0 likes · 4 min read
How JSON Hero Transforms JSON Viewing for Developers
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
Architect
Architect
Sep 3, 2024 · Frontend Development

Designing a Reusable, Flexible, and Stable Detail Page Framework

This article analyzes the challenges of maintaining high‑traffic detail pages across multiple business teams and proposes a three‑layer, dependency‑injection‑enabled framework that ensures reusability, flexibility, and stability while supporting fast onboarding and robust quality assurance.

Modularizationdependency injectionfrontend
0 likes · 10 min read
Designing a Reusable, Flexible, and Stable Detail Page Framework
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
DaTaobao Tech
DaTaobao Tech
Sep 2, 2024 · Frontend Development

Evolution and Architecture of the Daily Must‑Grab Mini‑Program Order System

The Daily Must‑Grab mini‑program order system evolved from a DX XML‑based UI to a React‑like Rax framework and finally to a native Ao Chuang solution, delivering cross‑platform support, smaller bundles, faster launches, better async handling, and extensible plug‑in architecture while leveraging Taobao’s transaction core.

DXMini ProgramNative
0 likes · 13 min read
Evolution and Architecture of the Daily Must‑Grab Mini‑Program Order System
大转转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.

BundlerGame DevelopmentJavaScript
0 likes · 4 min read
ZhuanZhuan Frontend Weekly – Curated Technical Articles
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 1, 2024 · Frontend Development

How to Set Up and Deploy a VitePress Site to GitHub Pages

This guide explains why the author chose VitePress for a personal blog, walks through creating a VitePress project, configuring essential files, and deploying the site to GitHub Pages using a GitHub Actions workflow, including troubleshooting tips for build failures and CSS issues.

CI/CDGitHub Pagesdeployment
0 likes · 7 min read
How to Set Up and Deploy a VitePress Site to GitHub Pages
php Courses
php Courses
Aug 30, 2024 · Frontend Development

Comprehensive TypeScript Course Outline

This article presents a detailed TypeScript learning roadmap covering fundamental concepts, data types, classes, inheritance, generics, modules, and advanced features, organized into two chapters with multiple sections to guide learners from installation to practical application.

CourseTypeScriptfrontend
0 likes · 2 min read
Comprehensive TypeScript Course Outline
大转转FE
大转转FE
Aug 30, 2024 · Frontend Development

Mastering WebRTC: Essential Front‑End APIs and Real‑Time Communication Basics

This article provides a comprehensive front‑end guide to WebRTC, covering its core concepts, differences from WebSocket, browser compatibility, typical use cases, advantages and drawbacks, and detailed usage of key APIs such as getUserMedia, getDisplayMedia, RTCPeerConnection, and RTCDataChannel with practical code examples.

APIRTCPeerConnectionReal‑time communication
0 likes · 15 min read
Mastering WebRTC: Essential Front‑End APIs and Real‑Time Communication Basics
php Courses
php Courses
Aug 29, 2024 · Frontend Development

WeChat Mini Program Component Development Course Overview

This course provides a comprehensive guide to developing rich WeChat Mini Program applications by teaching learners how to use and customize a wide range of built‑in and extended components, covering fundamentals, UI design, data binding, and practical project implementation.

Component DevelopmentUI componentsWeChat mini program
0 likes · 3 min read
WeChat Mini Program Component Development Course Overview
Goodme Frontend Team
Goodme Frontend Team
Aug 28, 2024 · Frontend Development

Top Tech Reads: React Native 0.75, Nuxt Scripts, CSS 2024 & More

This roundup highlights the latest releases and insights across the front‑end ecosystem—including React Native 0.75, Nuxt Scripts, the 2024 State of CSS survey, a SourceMap CLI tool tutorial, the evolution of hybrid mobile apps, Vue 3 Composition API animation, lessons from Japan’s lost decades, user‑centric documentation practices, and systematic approaches to front‑end stability—plus curated recommendations for deeper exploration.

Stabilitydocumentationfrontend
0 likes · 5 min read
Top Tech Reads: React Native 0.75, Nuxt Scripts, CSS 2024 & More
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 28, 2024 · Frontend Development

Building a Flexible React Management Backend with Custom Routing, Navigation, and Plugin System

This article describes how to create a feature‑rich, extensible React admin panel by implementing a convention‑based routing system, unified navigation with menu and draggable tabs, a Redux‑centric state management strategy, and a modular plugin architecture, while also integrating MUI, Next.js, and AI‑assisted code generation.

MUIReActRedux
0 likes · 11 min read
Building a Flexible React Management Backend with Custom Routing, Navigation, and Plugin System
JD Tech Talk
JD Tech Talk
Aug 21, 2024 · Frontend Development

Browser Navigation Process and Performance Optimization Techniques

This article explains the complete browser navigation flow from URL entry to page rendering and provides practical optimization strategies for DNS resolution, HTTP protocols, CDN usage, and front‑end resources such as HTML, CSS, JavaScript, images, and fonts to improve performance and user experience.

BrowserCDNOptimization
0 likes · 13 min read
Browser Navigation Process and Performance Optimization Techniques
JD Cloud Developers
JD Cloud Developers
Aug 21, 2024 · Frontend Development

Unlock Faster Page Loads: Mastering Browser Rendering and Performance Optimizations

This article explains the complete browser navigation process—from URL entry, DNS resolution, TCP and HTTP communication, to resource loading and page rendering—and presents practical optimization techniques such as DNS prefetch, HTTP/2, CDN usage, and HTML, CSS, JavaScript, and image improvements to boost frontend performance.

BrowserCDNOptimization
0 likes · 17 min read
Unlock Faster Page Loads: Mastering Browser Rendering and Performance Optimizations
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.

FrameworksHTMXJavaScript
0 likes · 7 min read
5 Compelling Reasons to Skip JavaScript Frameworks
DaTaobao Tech
DaTaobao Tech
Aug 19, 2024 · Frontend Development

Challenges and Solutions in AI-Powered Front-End Code Generation for B2C Platforms

The article details how Taobao’s AI team automated repetitive UI tasks for B2C front‑end development, achieving a 15 % efficiency gain across five projects, and outlines key challenges—prompt cost, low OCR accuracy, hallucinations, excess nodes, and customization variance—along with practical solutions such as a dedicated evaluation platform, OCR translation, model upgrades, prompt segmentation, output simplification, and a reusable component library.

AIMachine LearningPrompt Engineering
0 likes · 9 min read
Challenges and Solutions in AI-Powered Front-End Code Generation for B2C Platforms
大转转FE
大转转FE
Aug 16, 2024 · Frontend Development

How to Supercharge Front‑End Development with V0’s AI‑Powered Code Generator

This article introduces V0, an AI‑driven tool from Vercel that transforms natural‑language prompts or design screenshots into ready‑to‑use React, HTML, and Tailwind CSS code, compares it with other front‑end solutions, and provides step‑by‑step guidance on creating, editing, and exporting components.

AI code generationReActTailwind CSS
0 likes · 8 min read
How to Supercharge Front‑End Development with V0’s AI‑Powered Code Generator
JD Tech Talk
JD Tech Talk
Aug 13, 2024 · Frontend Development

Monitoring and Inspection Practices for Enterprise Front‑End Applications

This article describes how a large enterprise front‑end team implements real‑time monitoring, scheduled inspections, alert strategies, performance metrics, error handling, custom reporting, and mobile/native monitoring to ensure system stability, improve user experience, and continuously optimize application performance.

Monitoringalertingerror-handling
0 likes · 23 min read
Monitoring and Inspection Practices for Enterprise Front‑End Applications
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 12, 2024 · Frontend Development

Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF

This article explains how to achieve paginated print preview and PDF generation in a Vue 3 application by using vue3‑print‑nb for on‑demand printing, html2canvas to capture DOM elements as images, and jsPDF to compose multi‑page A4 PDFs with custom headers, footers, and spacing.

Vue3frontendhtml2canvas
0 likes · 12 min read
Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF
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.

ChatGPTJavaScriptPolyfill
0 likes · 11 min read
Fix the Broken ChatGPT Web Interface with a Custom User Script
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 10, 2024 · Mobile Development

Implementing a Four-Level Address Cascade Component with Custom Dialog in Huawei HarmonyOS (Next)

This tutorial demonstrates how to build a four‑level province‑city‑district‑town address cascade selector using a custom dialog in Huawei HarmonyOS, covering preparation, custom dialog creation, component communication, logic implementation, and data handling with complete code examples.

Address CascadeCustom DialogDevEco Studio
0 likes · 14 min read
Implementing a Four-Level Address Cascade Component with Custom Dialog in Huawei HarmonyOS (Next)
Architect's Guide
Architect's Guide
Aug 10, 2024 · Frontend Development

Evolution of Front‑End/Back‑End Separation: From JSP/Servlet to Node.js‑Based Full‑Stack Architecture

This article traces the historical evolution of web application architecture—from tightly coupled JSP/Servlet models through semi‑separated Ajax‑driven approaches to fully separated SPA and Node.js‑mediated full‑stack designs—highlighting the motivations, drawbacks, and benefits of each stage for modern front‑end development.

Web Developmentfrontendnodejs
0 likes · 14 min read
Evolution of Front‑End/Back‑End Separation: From JSP/Servlet to Node.js‑Based Full‑Stack Architecture
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 9, 2024 · Frontend Development

Mastering useRef in React with TypeScript: Avoid Common Pitfalls

This article explains how to correctly use React's useRef hook with TypeScript across several real‑world scenarios, compares different initialization patterns, highlights typical mistakes with useLayoutEffect, and provides best‑practice solutions for forwarding refs, merging refs, and exposing imperative handles.

HooksReActRef
0 likes · 13 min read
Mastering useRef in React with TypeScript: Avoid Common Pitfalls
21CTO
21CTO
Aug 8, 2024 · Frontend Development

How to Build a Windows 11‑Style Web Desktop with React

This article showcases a React‑based Windows 11 clone web app, detailing its interactive desktop, start menu, taskbar, draggable windows, responsive design, and the modern tech stack used to recreate core OS features for educational purposes.

ReActTailwind CSSWindows 11 clone
0 likes · 4 min read
How to Build a Windows 11‑Style Web Desktop with React
DeWu Technology
DeWu Technology
Aug 5, 2024 · Frontend Development

Large Model Innovations Redefining Frontend Development – Key Takeaways

The July 14 DeWu tech salon showcased how large language models are reshaping frontend development, featuring insights from NetEase, Alibaba, and DeWu experts on AI‑driven low‑code platforms, intelligent coding assistants, and practical implementation strategies, with over 20,000 online viewers.

AILarge Language Modelsevent recap
0 likes · 8 min read
Large Model Innovations Redefining Frontend Development – Key Takeaways
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.

CSSJavaScriptSnowfall
0 likes · 11 min read
Creating a Snowfall Effect with JavaScript and CSS
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.

Full-StackJavaScriptWeb Development
0 likes · 10 min read
Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need
Java Backend Technology
Java Backend Technology
Aug 1, 2024 · Frontend Development

Boost Your JSON Workflow with JSON Hero: A Powerful Viewer & Editor

JSON Hero is a lightweight, user-friendly tool that offers multiple views—column, tree, and raw JSON—enhanced features like automatic content preview, search, and shareable links, with optional local installation via npm or instant online use by dragging files into its web interface.

ViewerWeb Developmentfrontend
0 likes · 4 min read
Boost Your JSON Workflow with JSON Hero: A Powerful Viewer & Editor
Goodme Frontend Team
Goodme Frontend Team
Jul 31, 2024 · Frontend Development

Top Frontend & AI Insights: React State, CSS Updates, Form Design, and AI Code Trends

A curated roundup of the latest frontend and AI development resources, covering React 2023 insights, new CSS font-size-adjust support, Astro 4.12 release, zero‑width character pitfalls in phone validation, the relevance of global state, form‑design strategies, and AI‑assisted coding workflows.

AI integrationState Managementform design
0 likes · 4 min read
Top Frontend & AI Insights: React State, CSS Updates, Form Design, and AI Code Trends
VMIC UED
VMIC UED
Jul 30, 2024 · Frontend Development

Mastering Popup Design: Principles, Types, and Best Practices

This comprehensive guide explains what popups are, distinguishes modal and non‑modal varieties, outlines essential design principles for titles, content, buttons, and overlays, and provides a step‑by‑step workflow for selecting and implementing the right popup type to improve user experience.

DialogUI designfrontend
0 likes · 14 min read
Mastering Popup Design: Principles, Types, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 29, 2024 · Frontend Development

ArkTS Component Development Basics: Project Creation, Decorators, Styles, Events, State Management, and Slots

This tutorial walks through the fundamentals of building ArkTS components for HarmonyOS, covering project setup, key decorators like @Entry and @Component, styling with @Styles and @Extend, handling events, managing properties and state, conditional rendering, functional components, and slot implementation.

Component DevelopmentHarmonyOSUI
0 likes · 18 min read
ArkTS Component Development Basics: Project Creation, Decorators, Styles, Events, State Management, and Slots
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 29, 2024 · Frontend Development

Ensuring a Single Token Request Across Multiple API Calls with a repeatOnce Function

This article explains how to prevent multiple simultaneous token requests in a web application by using a custom repeatOnce function that caches the token in localStorage and coordinates pending calls through an event emitter, ensuring only the first request fetches the token while others wait for its result.

JavaScriptPromiseconcurrency
0 likes · 5 min read
Ensuring a Single Token Request Across Multiple API Calls with a repeatOnce Function
Architecture and Beyond
Architecture and Beyond
Jul 28, 2024 · Frontend Development

Comprehensive Guide to Front‑End Stability: Observability, Full‑Chain Monitoring, High‑Availability Architecture, Performance Management, Risk Governance, Process Mechanisms, and Engineering Practices

This extensive article presents a systematic approach to front‑end stability, covering observability systems, full‑chain monitoring, high‑availability design, performance management, risk governance, process mechanisms, and engineering practices to ensure reliable user experiences and business continuity.

MonitoringObservabilityPerformance
0 likes · 44 min read
Comprehensive Guide to Front‑End Stability: Observability, Full‑Chain Monitoring, High‑Availability Architecture, Performance Management, Risk Governance, Process Mechanisms, and Engineering Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 28, 2024 · Frontend Development

Performance Optimization of a Vue2 + ElementUI Cloud Management Platform

This article describes how a legacy Vue2‑based cloud management system was profiled with Lighthouse and webpack‑bundle‑analyzer, then optimized through static asset compression, dead‑code removal, tree‑shaking, code‑splitting, async loading and server tweaks, achieving a three‑fold reduction in bundle size and a 13.6‑second improvement in first‑contentful‑paint time.

Code SplittingLighthouseVue
0 likes · 11 min read
Performance Optimization of a Vue2 + ElementUI Cloud Management Platform
Top Architect
Top Architect
Jul 26, 2024 · Frontend Development

Understanding Same-Origin Policy and CORS: A Comprehensive Guide

This article explains the same‑origin policy, its role in browser security, how CORS enables controlled cross‑origin requests, the distinction between simple and preflight requests, credential handling, and best practices for configuring related HTTP headers.

CORSCross-OriginPreflight Request
0 likes · 16 min read
Understanding Same-Origin Policy and CORS: A Comprehensive Guide
JD Cloud Developers
JD Cloud Developers
Jul 26, 2024 · Frontend Development

From Junior to Front‑End Expert: My JD.com Journey and Key Lessons

The article recounts a JD.com front‑end engineer’s evolution from a fresh graduate to a technical leader, highlighting practical advice on mentorship, coding habits, project ownership, innovative ad‑tech solutions, and the transformative role of AIGC in modern front‑end development.

AIGCCoding PracticesProject Management
0 likes · 19 min read
From Junior to Front‑End Expert: My JD.com Journey and Key Lessons
FunTester
FunTester
Jul 22, 2024 · Frontend Development

How to Build a Chrome Extension from Scratch: A Complete Step‑by‑Step Guide

This article walks you through the fundamentals of Chrome extension development, covering its advantages, required prerequisites, manifest file creation, core components such as popup pages, background scripts, content scripts, and context menus, complete with practical code examples and configuration details.

Chrome ExtensionJavaScriptManifest V3
0 likes · 14 min read
How to Build a Chrome Extension from Scratch: A Complete Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 21, 2024 · Frontend Development

A Lightweight Vue 3 + Element‑plus Admin Dashboard Template: Setup, Configuration, and Usage

This article introduces a lightweight admin dashboard template built with Vue 3.4, Element‑plus, and Vite, detailing its project structure, technology stack, coding standards, configuration files, component integrations such as UnoCSS, mock.js, canvas, SVG and WangEditor, and provides step‑by‑step commands for development, linting, formatting, and production build.

Element-plusMock.jsTypeScript
0 likes · 15 min read
A Lightweight Vue 3 + Element‑plus Admin Dashboard Template: Setup, Configuration, and Usage
21CTO
21CTO
Jul 19, 2024 · Frontend Development

What Makes Svelte 5’s New Signals a Game‑Changer for Front‑End Development?

Svelte 5 launches with fine‑grained universal reactivity, a powerful Signals system, a slimmer compiler output, and Rich Harris’s enthusiastic take on React Server Components, promising a faster, smaller, and more composable framework for modern web developers.

React Server ComponentsSvelteWeb Development
0 likes · 8 min read
What Makes Svelte 5’s New Signals a Game‑Changer for Front‑End Development?
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jul 19, 2024 · Frontend Development

How Chrome Canary Lets You Run Gemini Nano LLM Directly in the Browser

Chrome Canary’s experimental Gemini Nano feature enables local execution of a large language model in the browser, offering easy deployment, hardware acceleration, offline use, and a Prompt API with createTextSession and streaming calls, plus step‑by‑step instructions and a demo for in‑page translation.

Chrome CanaryGemini NanoJavaScript
0 likes · 8 min read
How Chrome Canary Lets You Run Gemini Nano LLM Directly in the Browser
IT Services Circle
IT Services Circle
Jul 18, 2024 · Frontend Development

Top 10 Underrated VSCode Extensions to Boost Your Development Efficiency

This article introduces ten lesser‑known but highly useful VSCode extensions—ranging from workspace theming and comment coloring to TODO management, Git visualization, partial diffs, project switching, console logging, and Zen mode—to help front‑end developers dramatically improve productivity and workflow.

DevelopmentVSCodeextensions
0 likes · 4 min read
Top 10 Underrated VSCode Extensions to Boost Your Development Efficiency
macrozheng
macrozheng
Jul 18, 2024 · Information Security

Mastering Same-Origin Policy and CORS: A Complete Guide for Secure Web Development

This article explains the fundamentals of the same‑origin policy, its impact on DOM, web data and network requests, and provides a detailed overview of CORS, simple requests, preflight requests, and the necessary response headers to securely enable cross‑origin communication in modern browsers.

BrowserCORSfrontend
0 likes · 13 min read
Mastering Same-Origin Policy and CORS: A Complete Guide for Secure Web Development
DaTaobao Tech
DaTaobao Tech
Jul 17, 2024 · Frontend Development

Page Data Tracking and SPM for Front-End Development

Front‑end developers must embed unique page identifiers in URLs, capture incoming source parameters, and propagate them through outbound links so that traffic, source, interaction and conversion metrics can be automatically recorded by the SDK, enabling data‑driven product optimization and business insight.

AnalyticsData TrackingWeb
0 likes · 17 min read
Page Data Tracking and SPM for Front-End Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 17, 2024 · Frontend Development

Rapid Development of a Vue3 Carousel Component Using Doubao MarsCode Online IDE

The article details how the author leveraged Doubao MarsCode's AI‑powered online IDE to quickly set up a Vue3 project, import a git repository, switch Node versions, install dependencies, develop a paginated carousel component with full code snippets, and evaluate the platform's strengths and weaknesses.

CarouselJavaScriptMarsCode
0 likes · 21 min read
Rapid Development of a Vue3 Carousel Component Using Doubao MarsCode Online IDE
Lobster Programming
Lobster Programming
Jul 16, 2024 · Frontend Development

Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration

This article explains why browsers enforce same‑origin policy, how cross‑origin requests affect front‑end and back‑end communication, and presents six common solutions—including JSONP, Spring @CrossOrigin, WebMvcConfigurer, CorsFilter, Nginx proxy, and other advanced techniques—complete with code examples.

CORSCross-Originbackend
0 likes · 8 min read
Mastering CORS: 6 Practical Solutions for Frontend‑Backend Integration
Bilibili Tech
Bilibili Tech
Jul 12, 2024 · Frontend Development

Design and Implementation of a Unified Multi‑Business Detail Page Framework

The project consolidates three separate detail‑page implementations into a single, reusable framework that separates business, component, and framework layers, employs dependency‑injection and scoped lifecycles to support diverse scenarios while ensuring stability through comprehensive logging, monitoring, and staged gray‑release testing.

Modular DesignScope Managementarchitecture
0 likes · 11 min read
Design and Implementation of a Unified Multi‑Business Detail Page Framework
Sohu Tech Products
Sohu Tech Products
Jul 10, 2024 · Frontend Development

Implementing an Infinite 3D Carousel Animation with Pure CSS

The article shows how to build a smooth, infinite 3D carousel using only CSS by sharing a common motion path, staggering items with negative animation delays, defining keyframes (including optional pauses), and optionally leveraging @property and @container style for smoother or declarative control, while noting browser compatibility and hover‑pause tips.

3D carouselCSScss-variables
0 likes · 12 min read
Implementing an Infinite 3D Carousel Animation with Pure CSS