Tagged articles
43 articles
Page 1 of 1
Goodme Frontend Team
Goodme Frontend Team
Jul 1, 2024 · Frontend Development

Why Taro 4.0’s Vite Integration Fails and How to Fix It

This article explores the beta release of Taro 4.0, examines its new HarmonyOS support, CompileMode for mini‑programs, and Vite‑based build chain, then details the configuration pitfalls, debugging steps, source‑code analysis, and practical recommendations for a stable development workflow.

Rollupbuildfrontend
0 likes · 9 min read
Why Taro 4.0’s Vite Integration Fails and How to Fix It
Didi Tech
Didi Tech
Mar 19, 2024 · Frontend Development

Design and Development of the Mpx‑cube‑ui Component Library for Mini‑Programs

Mpx‑cube‑ui is a cross‑platform mobile component library built on the Mpx mini‑program framework that unifies theming and reuse by organizing components into three layers—basic, basic‑business, and business—while offering hierarchical style variables, compile‑time or runtime theming, and plans to open‑source its core components for broader community adoption.

Component LibraryMpxTheme Customization
0 likes · 9 min read
Design and Development of the Mpx‑cube‑ui Component Library for Mini‑Programs
Goodme Frontend Team
Goodme Frontend Team
Mar 18, 2024 · Frontend Development

How to Implement Seamless, Secure Login in WeChat Mini‑Programs

This article explains why user authentication is essential for mobile mini‑programs, outlines security measures using AccessToken and RefreshToken, and provides step‑by‑step techniques—including automatic login, token refresh, request queuing, and user‑state handling—to achieve a frictionless user experience.

AuthenticationTokenWeChat
0 likes · 9 min read
How to Implement Seamless, Secure Login in WeChat Mini‑Programs
JD Retail Technology
JD Retail Technology
Mar 14, 2024 · Frontend Development

Performance Optimization of JD Star Store Mini‑Program: Practices, Results, and Future Outlook

This article details how JD Retail's technology team identified performance bottlenecks in the Star Store mini‑program, applied systematic monitoring, daily walkthroughs, and targeted code, packaging, and rendering optimizations—reducing JS error rates by 81%, cutting page load times by up to 28% and shrinking bundle size by nearly 10%—and outlines future plans for continued user‑experience improvements.

jsmini-programoptimization
0 likes · 14 min read
Performance Optimization of JD Star Store Mini‑Program: Practices, Results, and Future Outlook
Goodme Frontend Team
Goodme Frontend Team
Jan 30, 2024 · Frontend Development

How to Build a Signature Pad in DingTalk Mini Programs with Taro & React

Learn step‑by‑step how to create a signature board for DingTalk mini‑programs using Taro and React, covering canvas creation, drawing logic, size adjustments, image export, undo functionality, landscape mode handling, and common pitfalls, so you can add reliable boss‑signed reports to your app.

Canvasfrontendmini-program
0 likes · 11 min read
How to Build a Signature Pad in DingTalk Mini Programs with Taro & React
JD Retail Technology
JD Retail Technology
Dec 18, 2023 · Frontend Development

Performance Optimization of JD LBS Store Detail Mini‑Program: Startup, Interaction, Energy, and Tracking Improvements

The JD LBS store‑detail mini‑program team tackled slow page loads, poor scrolling, cart lag, inaccurate tracking and high energy consumption through a series of frontend optimizations—including asynchronous info loading, on‑demand code injection, package slimming, gesture handling, and energy‑saving measures—resulting in roughly 50% faster startup, a 90 health score, 10% crash reduction and tracking reliability above 95%.

Energymini-programoptimization
0 likes · 19 min read
Performance Optimization of JD LBS Store Detail Mini‑Program: Startup, Interaction, Energy, and Tracking Improvements
JD Retail Technology
JD Retail Technology
Oct 8, 2023 · Mobile Development

Cross‑Platform Development of JD Mini‑Program for Fast Delivery: Background, Action, Research, Progress, and Planning

This report details JD's mini‑program cross‑platform initiative for the Fast Delivery service, covering background, actions taken, research findings, progress achieved, planning considerations, risk mitigation, and expected benefits such as reduced cost, improved stability, and higher development efficiency.

DeploymentJDmini-program
0 likes · 9 min read
Cross‑Platform Development of JD Mini‑Program for Fast Delivery: Background, Action, Research, Progress, and Planning
HelloTech
HelloTech
Aug 3, 2023 · Frontend Development

Dora: An Open‑Source Taro Mini‑Program Micro‑Frontend Framework

Dora is an open‑source micro‑frontend framework for Taro mini‑programs that lets developers split multi‑page business logic into independent sub‑applications managed via a simple config.json, communicate through a context bridge and event system, and synchronize versions with Git tags, streamlining multi‑team collaboration and reducing overall complexity.

frontendmicro-frontendmini-program
0 likes · 7 min read
Dora: An Open‑Source Taro Mini‑Program Micro‑Frontend Framework
Ctrip Technology
Ctrip Technology
Apr 13, 2023 · Frontend Development

Development Experience and Solutions for Mini‑Program WebView Integration

This article shares the team’s practical experience and solutions for embedding H5 pages in mini‑program WebViews, covering platform differences, communication mechanisms, onShow handling, common pitfalls, login‑state synchronization, payment integration, and the use of WebSocket to achieve real‑time cross‑page updates.

WebSocketWebViewcommunication
0 likes · 17 min read
Development Experience and Solutions for Mini‑Program WebView Integration
Ctrip Technology
Ctrip Technology
Mar 16, 2023 · Operations

Ctrip Mini-Program Automated Error Warning Solution

Ctrip’s automated error warning solution for its WeChat mini‑programs provides a comprehensive pipeline that injects build IDs, collects runtime errors via SDK, maps them with source maps, aggregates data in an APM MySQL store, and delivers real‑time alerts across development, testing, and production stages.

AlertingCtripWeChat
0 likes · 12 min read
Ctrip Mini-Program Automated Error Warning Solution
Goodme Frontend Team
Goodme Frontend Team
Mar 6, 2023 · Frontend Development

How Taro Dynamically Inserts Nodes: Inside React‑Based Mini‑Program Rendering

This article explains how Taro implements dynamic node insertion on mini‑program platforms by leveraging @tarojs/react and @tarojs/runtime, mimicking web‑style DOM operations through a custom Document abstraction, detailing the underlying classes, update mechanisms, and code examples for creating and destroying toast notifications.

dom manipulationdynamic node insertionfrontend
0 likes · 10 min read
How Taro Dynamically Inserts Nodes: Inside React‑Based Mini‑Program Rendering
Dada Group Technology
Dada Group Technology
Dec 2, 2022 · Frontend Development

Performance Optimization of Dada Delivery Mini-Program: Static Resources, Interface Aggregation, and Startup Page Adjustments

This article details how Dada Delivery improved its mini‑program performance by addressing fragmented optimizations, stabilizing key metrics, and applying systematic actions such as static resource reduction, interface aggregation, startup page restructuring, and best‑practice codification, resulting in significant launch‑time reductions on both WeChat and Alipay platforms.

Static Resourcesinterface aggregationmini-program
0 likes · 13 min read
Performance Optimization of Dada Delivery Mini-Program: Static Resources, Interface Aggregation, and Startup Page Adjustments
Alipay Experience Technology
Alipay Experience Technology
Mar 18, 2022 · Frontend Development

Boost Mini‑Program Development with jQuery‑Style Functional Components

This article introduces a jQuery‑style functional programming approach for mini‑program development, compares it with traditional Class components and React Hooks, demonstrates a simple input‑popup component with code examples, and explains how the method simplifies component communication and maintenance.

component communicationfrontendfunctional components
0 likes · 10 min read
Boost Mini‑Program Development with jQuery‑Style Functional Components
Alibaba Terminal Technology
Alibaba Terminal Technology
Dec 8, 2021 · Mobile Development

How Ele.me Supercharged Mini‑Program First‑Screen Speed: A Year of Container Optimizations

This article details how Ele.me's Lriver mini‑program container was optimized over a year to dramatically reduce first‑screen load time, covering architectural improvements, pre‑loading strategies, rendering and worker enhancements, and the monitoring tools that validated the performance gains.

Mobile Developmentappxfirst screen
0 likes · 9 min read
How Ele.me Supercharged Mini‑Program First‑Screen Speed: A Year of Container Optimizations
Ctrip Technology
Ctrip Technology
Nov 25, 2021 · Frontend Development

Optimizing Taro Compilation and Packaging with Webpack: Reducing Build Time and Package Size

This article examines the performance bottlenecks in large Taro projects, details how to analyze and modify Taro’s built‑in webpack configuration using webpack‑chain, and presents plugin‑based solutions—thread‑loader, cache‑loader, and terser‑webpack‑plugin—to cut build time to one‑third and shrink package size below the 2 MB limit.

cache-loadermini-programthread-loader
0 likes · 16 min read
Optimizing Taro Compilation and Packaging with Webpack: Reducing Build Time and Package Size
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 22, 2021 · Frontend Development

How Native Image Snapshots Eliminate White Screens and Enable Instant Interaction in Mini‑Programs

This article explains a native image‑snapshot technique for mini‑programs that removes white‑screen delays, makes the first screen appear instantly, supports user interaction, and outlines the implementation steps, suitable scenarios, timing, storage security, accuracy measurement, and performance impact.

interactivemini-programsecurity
0 likes · 15 min read
How Native Image Snapshots Eliminate White Screens and Enable Instant Interaction in Mini‑Programs
ELab Team
ELab Team
Aug 19, 2021 · Frontend Development

Inside GMTC 2021 Mini‑Program Talks: Cross‑Platform Tricks & Performance Secrets

The article recounts four GMTC 2021 mini‑program talks, detailing Jingxi’s Taro‑based cross‑platform architecture, DCloud’s cloud‑integrated code generation, Didi’s Mpx framework for massive multi‑team projects, and Douyin’s custom rendering engine, while highlighting performance, build, and optimisation strategies.

Frameworkcross‑platformmini-program
0 likes · 38 min read
Inside GMTC 2021 Mini‑Program Talks: Cross‑Platform Tricks & Performance Secrets
Baidu MEUX
Baidu MEUX
Aug 11, 2021 · Product Management

How to Build a Robust B2B Evaluation Framework for Mini‑Program Platforms

This article explains why post‑COVID mini‑program platforms need a dedicated B2B assessment system, outlines the three‑layer evaluation model, describes metric design, sampling strategies, and result analysis, and shows how the insights guide platform growth and merchant success.

B2B evaluationUser experiencemini-program
0 likes · 10 min read
How to Build a Robust B2B Evaluation Framework for Mini‑Program Platforms
Baidu Geek Talk
Baidu Geek Talk
Jan 13, 2021 · Frontend Development

Baidu Open-source Mini-program Framework Architecture Evolution and Performance Optimization Practices

An overview of Baidu's Smart Mini‑Program framework evolution describes its dual‑stack SWAN architecture, open‑host extensions, and native‑web integration, while the second part details performance‑boosting practices such as sub‑packaging, resource compression, early data fetching, and efficient setData usage to approach native app startup speeds.

Baidu-SWANframework architecturefront-end development
0 likes · 16 min read
Baidu Open-source Mini-program Framework Architecture Evolution and Performance Optimization Practices
Baidu MEUX
Baidu MEUX
Oct 29, 2020 · Mobile Development

How to Build a Tailored Design Checklist for Mini‑Programs: A Step‑by‑Step Guide

This article explains how to create a customized design self‑checklist for Baidu mini‑programs by outlining four practical steps—structuring the checklist, populating content, applying it in daily workflows, and iterating it—while providing concrete examples and visual references to improve interaction design quality.

Interaction DesignProduct DesignUX
0 likes · 11 min read
How to Build a Tailored Design Checklist for Mini‑Programs: A Step‑by‑Step Guide
Taobao Frontend Technology
Taobao Frontend Technology
Sep 15, 2020 · Frontend Development

Mastering H5 + Mini‑Program Development: Static Compile vs Dynamic Parse

This article explores the challenges of building H5 and mini‑program applications across multiple platforms, compares static compilation approaches like Chameleon, MPVue, Taro and Rax with dynamic parsing solutions such as Remax and Frad, and discusses performance trade‑offs, lifecycle integration, and future directions for view‑layer DSLs.

Reactcross‑platformdynamic parsing
0 likes · 15 min read
Mastering H5 + Mini‑Program Development: Static Compile vs Dynamic Parse
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 28, 2020 · Frontend Development

Accelerating Frontend AI: From WebGL to MNN.js and Beyond

This article explores the rise of AI in front‑end development during the pandemic, compares frameworks like TensorFlow.js, ONNX.js and WebNN, presents a performance‑focused case study of MNN.js, and outlines practical acceleration tools for cross‑platform web and mini‑program AI applications.

MNNWasmfrontend
0 likes · 10 min read
Accelerating Frontend AI: From WebGL to MNN.js and Beyond
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 17, 2020 · Frontend Development

Cross‑Platform Mini‑Program Mastery: Lessons from Alibaba’s Ticketing App

This article shares Alibaba's ticketing team's cross‑platform mini‑program development experience, covering Alipay, Baidu, ByteDance, and quick‑app cards, detailing platform differences, practical tips, common pitfalls, and strategies for building, testing, and maintaining multi‑platform mini‑programs efficiently.

AlipayDevelopmentMobile
0 likes · 22 min read
Cross‑Platform Mini‑Program Mastery: Lessons from Alibaba’s Ticketing App
WecTeam
WecTeam
Feb 12, 2020 · Frontend Development

Halve Shopping Cart Load Time with Auto Paging, Scroll Fixes, and Caching

By combining automatic pagination, removal of heavy scroll-view components, strategic data preloading, caching, and backend logic offloading, the JD mini‑program shopping cart page reduced first‑screen render time by over 50%, lowered CPU and memory usage, and delivered a smoother user experience across devices.

automatic paginationbackend logic offloadcaching
0 likes · 18 min read
Halve Shopping Cart Load Time with Auto Paging, Scroll Fixes, and Caching
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 18, 2020 · Cloud Native

How Tencent Scaled Mini‑Program Development with Cloud‑Native DevOps and Serverless

This article details Tencent Online Education's three business lines, the challenges of mini‑program engineering such as inconsistent environments and release issues, and how a custom DevOps workflow, automated testing, a bespoke CLI tool, and Serverless cloud functions were introduced to create a unified, scalable cloud‑native development pipeline.

Cloud NativeDevOpsautomation
0 likes · 12 min read
How Tencent Scaled Mini‑Program Development with Cloud‑Native DevOps and Serverless
AntTech
AntTech
Dec 20, 2019 · Frontend Development

From R&D Pain Points to Mini‑Program Engineering: Stages, Tools, and Best Practices

This article outlines the evolution of mini‑program development at Ant Group, describing three engineering stages, essential tooling such as state management, Datahub mocking, monitoring, internationalization, component libraries, and SubApp architecture to bring mini‑programs closer to mainstream front‑end engineering practices.

MockingState Managementi18n
0 likes · 10 min read
From R&D Pain Points to Mini‑Program Engineering: Stages, Tools, and Best Practices
Sohu Tech Products
Sohu Tech Products
Sep 18, 2019 · Frontend Development

Designing a Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture and Vue Modifications

The article recounts the author’s journey of building a mini‑program engine, detailing the challenges of using Vue in a sandboxed environment, the trade‑offs between single‑thread and dual‑thread models, and the architectural decisions made to balance security, performance, and native capabilities.

frontendmini-programsandbox
0 likes · 16 min read
Designing a Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture and Vue Modifications
WeChat Client Technology Team
WeChat Client Technology Team
Jul 1, 2019 · Mobile Development

Leveraging Mini‑Program Stack & Flutter for High‑Performance Mobile Cross‑Platform Development

This article details the WeChat client team's evolution from early C99‑based cross‑platform components to a mini‑program‑centric architecture, examines performance challenges on Android, and describes how integrating native rendering, the LV‑CPP C++ layer, and Flutter dramatically improved UI consistency, efficiency, and maintainability across iOS and Android.

DARTMobilemini-program
0 likes · 24 min read
Leveraging Mini‑Program Stack & Flutter for High‑Performance Mobile Cross‑Platform Development
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 28, 2019 · Frontend Development

How Tencent Scaled Online Education with Mini‑Program Architecture and Engineering

This article details Tencent's online‑education mini‑program ecosystem, covering business matrix, native framework selection, engineering practices, audio/video integration, automated release pipelines, performance optimization through sub‑packages, and a comparison of WeChat and QQ mini‑program platforms.

automationfrontendmini-program
0 likes · 19 min read
How Tencent Scaled Online Education with Mini‑Program Architecture and Engineering
JD Tech
JD Tech
Feb 28, 2019 · Frontend Development

Taro UI 2.0 Release: New Components, Multi‑Mini‑Program Support, Custom Themes, Theme Generator, and Issue Helper

The Taro UI 2.0 update introduces eleven new components, expands support to multiple mini‑program platforms, adds a customizable theme system with a visual theme generator, and provides an Issue Helper tool to streamline bug reporting, while outlining future plans for ByteDance mini‑program adaptation and i18n.

Custom ThemeTaro UIUI components
0 likes · 5 min read
Taro UI 2.0 Release: New Components, Multi‑Mini‑Program Support, Custom Themes, Theme Generator, and Issue Helper
58 Tech
58 Tech
Feb 27, 2019 · Frontend Development

Cross‑Platform Mini‑Program Migration Tool (wto‑cli), Compilation Framework (wbmp), UI Library (wbui) and Cloud SDK (mp‑scf‑sdk) Overview

This article introduces the 58 Mini‑Program Cloud project, presenting the wto‑cli migration tool, the wbmp cross‑platform compilation framework, the wbui UI component library, and the mp‑scf‑sdk cloud development SDK, detailing their architecture, core features, migration process, and practical code examples for multi‑platform mini‑program development.

UI librarycloud-sdkcross‑platform
0 likes · 15 min read
Cross‑Platform Mini‑Program Migration Tool (wto‑cli), Compilation Framework (wbmp), UI Library (wbui) and Cloud SDK (mp‑scf‑sdk) Overview
Aotu Lab
Aotu Lab
Nov 7, 2018 · Frontend Development

What’s New in Taro 1.1? Expanded Mini‑Program Support and UI Library Features

Taro 1.1 introduces Baidu and Alipay mini‑program support, new platform identifiers, UI‑library packaging capabilities, numerous bug fixes and API enhancements across WeChat, H5 and React Native, and opens a beta for mini‑program‑to‑Taro code conversion, with detailed commands and future plans.

TaroUI librarymini-program
0 likes · 9 min read
What’s New in Taro 1.1? Expanded Mini‑Program Support and UI Library Features
JavaScript
JavaScript
Nov 3, 2017 · Frontend Development

How to Embed Web Pages in Mini-Programs Using the Web-View Component

Developers can now flexibly embed web pages within mini-programs using the web-view component, which fills the entire page as a container, though it currently excludes personal and overseas mini-program types, and the guide shows the required WXML markup to set the source URL.

EmbeddingWeChatfrontend
0 likes · 1 min read
How to Embed Web Pages in Mini-Programs Using the Web-View Component
Aotu Lab
Aotu Lab
Sep 29, 2017 · Frontend Development

Boost Your WeChat Mini‑Program Marketing with the wxapp‑market Component Library

The wxapp‑market library provides a collection of ready‑to‑use marketing components for WeChat mini‑programs—such as big wheel, scratch tickets, slot machines, and gesture locks—along with clear setup instructions, code examples, and a GitHub repository for quick integration.

Marketingcomponent-librarymini-program
0 likes · 3 min read
Boost Your WeChat Mini‑Program Marketing with the wxapp‑market Component Library