Tagged articles
H5
63 articles · Page 1 of 1

liandkMay 9, 2026 · Frontend Development
This guide explains why Uniapp projects need platform‑specific adaptations, introduces the fixed #ifdef/#endif conditional compilation syntax, lists the three main platform identifiers, and demonstrates how to apply conditional blocks in templates, scripts, and styles, followed by reverse conditions, practical cases, tips, and troubleshooting.
App DevelopmentConditional CompilationH5
0 likes · 6 min read

This article explains how to overcome performance and integration challenges of 3D avatar rendering across multiple scenarios by exporting avatars as video or GIF resources using a Puppeteer‑driven H5 frame capture pipeline combined with FFmpeg video synthesis, detailing the evaluation of alternatives and the final implementation steps.
FFmpegH5Puppeteer
0 likes · 13 min read

To dramatically improve H5 page load performance, this guide outlines a comprehensive strategy—including infrastructure setup, resource and HTML preloading, API prefetching with schema design, lightweight NSR‑Lite rendering, DNS pre‑resolution, and degradation safeguards—resulting in a rise in instant‑open rate from 10% to over 55%.
API PrefetchH5NSR-Lite
0 likes · 20 min read

This article describes how reusable H5 marketing activity pages can be quickly built using five technical solutions, introduces a centralized workspace and monorepo structure with example configurations, and explains the benefits and considerations of central repository management for front‑end development.
H5code reusedevelopment efficiency
0 likes · 4 min read

This article explains how reusing H5 marketing activity pages with a monorepo workspace can accelerate development by up to 40%, outlines five technical solutions, shows workspace structure and package configuration, and discusses central repository management and its suitability for similar projects.
H5developmentfrontend
0 likes · 3 min read

This article describes the design and implementation of an automated H5 performance testing platform that integrates UI automation, mitmproxy traffic capture, waterfall visualization, and Lighthouse scoring to continuously monitor, evaluate, and improve web page performance in mobile applications.
H5Lighthouseautomation
0 likes · 15 min read

By unifying the live‑room player with a same‑layer rendering component, exposing real‑time data through a communication layer, and using a pool‑based multi‑instance architecture that adapts to tablets and foldable screens, developers can embed native‑like immersive live rooms directly into H5 pages, simplifying integration and enabling future AI‑driven features.
Front-endH5live streaming
0 likes · 10 min read

This article outlines the architecture of JD's H5 marketing pages, compares native and H5 development, details container layering, describes functional implementation, and presents a comprehensive set of server‑side and front‑end testing methods, performance optimization, online tracking, and current pain points to improve testability and reliability.
Frontend TestingH5JD Hybrid
0 likes · 16 min read

The project implements a cross‑platform driver authentication video capture module by using WebRTC to access rear‑facing cameras, RecordRTC to record a five‑second clip with custom constraints, and uploading the resulting Blob to Alibaba Cloud OSS for OCR, ensuring consistent functionality across native apps, mini‑programs, and external H5 pages.
Front-endH5JavaScript
0 likes · 10 min read

This article details a comprehensive approach to improving the performance and user experience of complex H5 game-like applications by using offline package splitting, native splash screens, global state management with zustand, data prefetching, image loading optimizations, transition animations, and ranking list enhancements.
H5ReactWeb Worker
0 likes · 18 min read

This tutorial explains how to add a QR‑code scanning feature to an H5 page with Vue2 by installing html5-qrcode, handling HTTPS requirements, and providing complete HTML, JavaScript, and CSS code snippets for a functional camera‑based scanner.
H5QR CodeVue2
0 likes · 4 min read

By implementing offline caching of libraries, template pre‑rendering, native player embedding, split‑screen loading, API slimming, WebP image delivery, and UI tweaks such as title‑bar customization, hide‑nav flags, pull‑to‑refresh, early background color and placeholder optimization, the H5 special‑topic pages in the mobile app WebView achieve up to 60 % faster first‑screen loads, dramatically lower network usage, and a smoother, more immersive user experience.
H5WebViewfrontend
0 likes · 10 min read


JD TechSep 27, 2023 · Frontend Development
This article examines the core front‑end technologies employed in JD’s Competition Ranking H5 page, covering animation implementations, style configuration, skin switching, poster generation, debugging tools, request handling, and deployment scripts, providing practical insights and code examples for front‑end developers.
CSSH5Vue
0 likes · 22 min read

Vivo’s front‑end team outlines practical accessibility adaptations for H5 Android projects, emphasizing ARIA roles and states, proper tabindex ordering, language attributes, alt text or aria‑label for images, button roles, numeric speech conversion, focus management in dialogs and pickers, and a comprehensive checklist to ensure inclusive mobile experiences.
ARIAH5accessibility
0 likes · 18 min read

This article explores the core front‑end technologies behind JD’s Race Ranking H5 page, covering animation implementations, style configuration, skin switching, poster generation, debugging tools, API protection, and deployment workflows, offering practical insights and code examples for developers building sophisticated mobile web applications.
H5Vueanimation
0 likes · 21 min read

This article details JD's end‑to‑end H5 observability solution, covering the challenges of hybrid app development, the design of a three‑stage UEM platform, deep active and passive monitoring, automated quality gates, and real‑world case studies that demonstrate cost savings and performance improvements.
H5Hybrid AppMetrics
0 likes · 15 min read


HomeTechMay 10, 2023 · Frontend Development
This article details comprehensive strategies for accelerating H5 page load times, covering background analysis, performance metrics, loading strategies, preload/prefetch, DNS prefetch, preconnect, skeleton screens, image compression with WebP, CDN caching, bundle optimization with Vite/Webpack, and provides practical code examples and configuration snippets.
H5Viteoptimization
0 likes · 15 min read

This article introduces a curated list of popular low‑code tools and open‑source projects, explaining how visual, drag‑and‑drop editors built with modern front‑end stacks enable fast H5 page creation, poster generation, and full‑stack application development with minimal hand‑written code.
H5Visual Editorfrontend
0 likes · 7 min read


HomeTechSep 28, 2022 · Frontend Development
This article describes a visual self‑service event‑tracking platform for AutoHome H5 pages that separates tracking code from business code, provides a visual editor for non‑technical users, generates SDKs, and includes a Chrome extension for cross‑domain iframe injection.
Chrome extensionH5SDK
0 likes · 8 min read

This article explains the core H5 page performance metrics such as FCP, LCP, CLS, TTI, and TBT, describes how to measure them with Lighthouse, and provides comprehensive network‑ and rendering‑layer optimization techniques along with real‑world case studies from the PLUS team to improve user experience.
H5LighthouseMetrics
0 likes · 12 min read


ITPUBJun 23, 2022 · Mobile Development
This article examines the four popular cross‑platform technologies—Flutter, React Native, Weex, and H5—by detailing their architectural layers, compilation models, rendering pipelines, typical performance bottlenecks, and practical optimization techniques, and offers guidance on selecting the most suitable stack for a given project.
FlutterH5React Native
0 likes · 16 min read


Aotu LabFeb 24, 2022 · Frontend Development
This guide explains why Taro 3 was chosen for unified development, outlines its architecture evolution, and provides step‑by‑step instructions—including CLI setup, script configuration, plugin usage, routing, versioning, API requests, and mixed‑mode packaging—to create a single codebase that runs on both H5 and various mini‑program platforms.
Blended BuildH5Mini‑Program
0 likes · 15 min read


Aotu LabJan 20, 2022 · Frontend Development
Taro v3.4 introduces official Preact support, expanded Vue 3.2 capabilities, extensive H5 performance and routing improvements, new defineAppConfig/definePageConfig macros, a list of bug fixes and breaking changes, plus a step‑by‑step upgrade guide for developers.
H5JavaScriptPreact
0 likes · 12 min read


58UXDJan 14, 2022 · Frontend Development
This guide explores how B2B H5 designers can apply storytelling, interactive cues, brand color strategies, and concise copy to create emotionally resonant experiences that boost engagement and share rates, illustrating each step with concrete scenario examples and visual illustrations.
B2B designBrandH5
0 likes · 6 min read

This article walks through the origin, architecture, and tooling of Shopee Candy, a multi‑region match‑3 H5 game, detailing the Algorithm SDK, animation system, map editor, score runner, replayer, and future plans for configurability, performance, anti‑cheat, and AI‑driven level design.
AlgorithmH5animation
0 likes · 16 min read

The article describes an H5 technique for multi‑tab nested scrolling using a single native scroll container where child tabs retain their own offsets, the tab bar sticks via position:sticky, and scroll inertia is propagated, while addressing iOS flicker, overflow handling, Android WebView bugs, lazy loading, and future GPU‑cache optimization.
H5Nested ScrollingSticky Tabs
0 likes · 9 min read

The article introduces the flexible template solution for the Tongtian Tower marketing system, detailing its background, design principles, CMS architecture, flexible canvas implementation, H5 rendering strategy, native client SDK, technical choices, and the achieved efficiency gains across multiple business scenarios.
CMSFrontend ArchitectureH5
0 likes · 13 min read

This article explains how to enable two-way communication between React Native and H5 pages using WebView, covering message handling in both directions, code examples for sending and receiving data, and important migration notes from the built‑in WebView to react‑native‑webview.
AndroidH5JavaScript
0 likes · 5 min read

This article details the systematic performance optimization of Penguin Tutor's H5 core pages, covering metric collection, analysis methods, environment setup, and concrete practices such as network tuning, code splitting, lazy loading, resource hints, and server‑side improvements that reduced total bundle size by 50% and cut onload time from over 6 seconds to around 1.2 seconds.
H5Webfrontend
0 likes · 22 min read

This article details the challenges encountered when developing WeChat H5 pages—such as authorization‑loop redirects, cross‑origin poster creation with html2canvas, iPhone 100vh scrolling bugs, and precise performance timing using window.performance—and presents practical code‑based solutions and compatibility tips for both iOS and Android devices.
CanvasH5WeChat
0 likes · 12 min read

This article details how to create a cross‑platform English‑learning quiz PK mini‑game for both a main app (H5) and WeChat mini‑games, covering technology selection, project structure, webpack configuration, virtual routing, component development with react‑pixi‑fiber, animation techniques, platform adapters, and performance optimizations.
H5ReactWeChat Mini Game
0 likes · 22 min read

The article describes a progressive front‑end rendering strategy that replaces synchronous template rendering with route separation, build‑time pre‑static HTML generation, and WebView pre‑creation, using skeleton components to cut first‑paint time, lower TTFB and JavaScript delays, and improve H5 performance, scalability and maintenance.
H5frontendoptimization
0 likes · 12 min read

The article details JD.com's mobile checkout architecture, explaining its dual functions of payment selection and post‑payment confirmation, the seven supported payment methods, the hybrid H5‑WebView approach with native interaction, its advantages and drawbacks, and practical implementation guidelines for Android and iOS.
H5Hybrid AppNative integration
0 likes · 7 min read

This tutorial explains how to configure a certified WeChat public account, construct the OAuth authorization URL, exchange the returned code for an access token, retrieve the user's basic profile—including nickname—and redirect back to the H5 page, while covering required parameters and token refresh details.
APIH5JavaScript
0 likes · 7 min read

This article explains how Alibaba’s multimedia front‑end team built a same‑layer rendering video player for H5, detailing the architecture, performance advantages, degradation strategies, issues encountered during the 618 promotion, and future plans to improve playback experience across live and on‑demand scenarios.
AlibabaH5multimedia
0 likes · 11 min read

This article explains the principles and practical implementations of deep linking (URL Scheme, Intent, and Universal Links) for guiding users from web pages or other apps to the Taobao mobile app, covering registration, compatibility, success detection, and restoration strategies.
H5URL schemeUniversal Links
0 likes · 14 min read


Aotu LabMay 26, 2020 · Frontend Development
The Taro Next Beta and RC releases introduce H5 compilation, seamless conversion of WeChat mini‑programs to React or Vue, a robust HTML rendering API, CSS‑in‑JS via Linaria, a built‑in VirtualList component, plugin support, and an RFC‑driven path toward a stable version.
CSS-in-JSH5TaRO
0 likes · 9 min read


WecTeamApr 8, 2020 · Frontend Development
This article details how JD's MPM visual H5 page builder tackles complex data‑request challenges by introducing a unified data model, request aggregation, and three‑end rendering support, offering a scalable solution that improves performance, maintainability, and developer experience across web, app, and server‑side rendering.
Data ModelingH5MPM
0 likes · 23 min read

The article describes a server‑driven, H5‑based dynamic layout architecture for Huajiao's multi‑party voice chat, detailing its design principles, benefits such as reduced client development, flexible layout switching, and the interaction mechanisms among server, H5 front‑end, and client.
H5dynamic layoutfrontend
0 likes · 8 min read

The article explains Huajiao's server‑and‑H5 driven dynamic layout architecture for multi‑user voice rooms, detailing its design principles, benefits, three core concepts, synchronization mechanisms, interaction flow, and how it drastically reduces client development effort while supporting flexible, real‑time UI changes.
H5Real-timedynamic layout
0 likes · 9 min read

This article explains how to leverage the hash fragment of an H5 URL to enable seamless, non‑refreshing data exchange between a Mini Program and H5 pages, covering the problem, solution, implementation details, code examples, pitfalls, and best‑practice tips.
Data ExchangeH5Hash
0 likes · 5 min read

This article compares native applications and H5 web apps, outlining their respective advantages, disadvantages, usage scenarios, and common design limitations such as keyboard handling, close‑button issues, overlay coverage, and native bar extensibility.
H5Web Appsmobile development
0 likes · 8 min read

Nanachi is Qunar's multi‑end mini‑program translation framework that lets developers write React‑based code once and run it on various mini‑program platforms and H5, offering streamlined installation, unified APIs, component libraries, scoped styling, and comprehensive runtime and build‑time solutions to boost development efficiency.
H5Multi-EndNanachi
0 likes · 8 min read

This article explains common H5‑to‑native app interaction patterns, detailing basic interfaces, one‑way and two‑way calls, implementation approaches, and the considerations for whether the H5 or the native side leads the integration, with code examples for Android and iOS.
AndroidH5JavaScript Bridge
0 likes · 10 min read

This article explains how to achieve pixel‑perfect reproduction of design drafts on mobile H5 pages by adapting to different screen densities and sizes, using global CSS units like vw (and optionally rem), and automating the px‑to‑vw conversion with the postcss-px-to-viewport plugin.
H5VWfrontend
0 likes · 15 min read


58UXDMar 27, 2019 · Product Management
This case study details how a fast‑track H5 puzzle game was conceptualized, styled with outline illustrations, and executed in just eight days to celebrate Singles' Day, boost user interaction, and channel traffic to the 58 rental mini‑program, while sharing design standards, collaboration methods, and user feedback.
H5Singles' Daygame design
0 likes · 8 min read

This article explains the typical interaction models between H5 (HTML5) pages embedded in mobile apps and native code, covering basic bridge interfaces, single‑direction and bi‑directional calls, implementation styles, and the trade‑offs of H5‑driven versus native‑driven architectures, with concrete code examples.
H5JavaScript Bridge
0 likes · 11 min read

This article explains how to reduce HTTP requests and page load time for H5 web pages by leveraging Chrome DevTools and its WebSocket‑based protocol to capture network metrics, render trees, and screenshots on both PC and Android, providing step‑by‑step debugging and performance‑testing guidance.
AndroidChrome DevToolsH5
0 likes · 7 min read

Taro UI is a multi-platform UI component library developed by Aotu Labs, designed to work seamlessly with the Taro framework across WeChat Mini Programs, H5, and React Native.
H5React NativeTaro UI
0 likes · 4 min read

The article explains H5 front‑end performance bottlenecks—white‑screen delays and interaction lag—by detailing the page loading stages, showing how to measure first‑paint and load times with Chrome DevTools and device debugging, and recommending solutions such as server‑side rendering, touch‑area optimization, script debugging and memory‑leak prevention to improve first‑screen speed and overall smoothness.
First PaintH5Mobile Web
0 likes · 9 min read

This article presents an automated approach for measuring and improving the performance of mobile H5 advertisements by capturing network traffic with tcpdump, injecting JavaScript to collect W3C Performance API metrics, converting pcap files to HAR, and visualizing results similar to Chrome DevTools.
H5automationjs injection
0 likes · 8 min read

The article presents a comprehensive, automated approach for measuring mobile H5 page performance—including start‑render, DOM‑ready, and page‑load times—by capturing network traffic with tcpdump, injecting JavaScript via the WebView, converting pcap files to HAR, and visualizing results similar to Chrome DevTools.
H5automationjs injection
0 likes · 7 min read


JD TechMar 26, 2018 · Frontend Development
JSSDK is a JavaScript SDK that enables H5 developers to quickly integrate JD app features such as sharing, deep linking, and native function calls across platforms, offering modular, version‑compatible, and type‑safe APIs to streamline mobile web development.
Frontend DevelopmentH5JSSDK
0 likes · 7 min read

This article walks through the design and implementation of a water‑pressure ring H5 game, covering technology selection, code architecture, integration of CreateJS with Matter.js physics, handling of ring rendering, needle collision detection, skill effects, performance optimizations, and practical tips for overcoming common challenges in 2D‑to‑3D simulation.
CreateJSH5Matter.js
0 likes · 18 min read

This case study describes how a three‑week H5 promotion for a university English‑vocabulary app was conceived, designed, and animated around a playful “Exam God” character, using expressive emojis, GIF key‑frame animation, and visual tricks to boost user engagement and sharing.
H5UX designanimation
0 likes · 9 min read

The article explains how to design a data‑driven architecture for a visual H5 page editor, detailing the abstraction of pages, elements, and history into structured objects, and showing how front‑end developers can map complex UI interactions to clean, editable data models.
H5Visual Editordata structure
0 likes · 14 min read

The article outlines the end‑to‑end workflow of H5 live streaming, discusses state control, WebSocket‑based comment handling, heartbeat reconnection, video compatibility issues, and practical code techniques for detecting and recovering from stream stalls.
H5Real-timeWebSocket
0 likes · 9 min read

This article explains how to design a hybrid app's communication layer using JSBridge, outlines native‑H5 interaction patterns, presents bridge protocol implementations, discusses UI responsibilities, and describes offline H5 container architecture with local URL routing and update mechanisms.
AndroidH5JSBridge
0 likes · 19 min read

This article walks through mobile video live streaming fundamentals, covering H5 playback, WebRTC recording, HLS streaming, RTMP server setup, iOS capture, user interaction features, and practical code examples to help front‑end engineers build robust live video solutions.
H5HLSRTMP
0 likes · 16 min read

The article discusses practical technology selection for mobile app development, weighing native versus H5 approaches, choosing between Objective‑C and Swift, and comparing MVC, MVP, and MVVM architectures, emphasizing decisions based on team resources, project timelines, and long‑term maintainability.
Architecture PatternsH5SWIFT
0 likes · 8 min read

This article explains why H5 performance matters, defines the one‑second rule for different network conditions, and provides comprehensive front‑end optimization techniques—including resource loading, image handling, server deployment, code standards, testing tools, and classic case studies—to improve user experience on mobile web applications.
H5Webmobile
0 likes · 22 min read

This article shares a designer's hands‑on experience using JD's HIPAGE platform to build mobile H5 pages, covering project brainstorming, sketching, handling demanding product requests, optimizing image assets, simplifying animations, and practical performance‑boosting techniques.
H5HIPAGEfrontend
0 likes · 6 min read

This article shares practical H5 design lessons from JDC, covering font choices, layout focus, motion and audio effects, responsive adaptation, and different H5 types to help creators build engaging mobile experiences while balancing performance and shareability.
H5Mobile UIUser Experience
0 likes · 10 min read
