Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Mobile Development

13 min read

HarmonyOS ClickUtil: Throttle & Debounce Patterns for Duplicate Click Prevention

This article analyzes the HarmonyOS ClickUtil library from @pura/harmony-utils V1.4.0, explaining throttle and debounce implementations with source code, interactive demos, and scenario-based selection guidance for preventing duplicate button clicks in mobile applications.

14 min read

Everything Claude Code Adds Full HarmonyOS Support: AI Coding for ArkTS with V2 Standards & Automated Rules

Everything Claude Code now provides comprehensive HarmonyOS development support with a dedicated agent, ArkTS syntax rules, automated hooks, and project templates that enforce V2 state management, Navigation routing, and security best practices for AI-assisted coding.

21 min read

Douyin’s Dynamic Performance Framework: Design, Perception, and Optimization Practices

The article details Douyin's Dynamic Performance Framework (DDPF), covering its evolution from static resource scheduling to a multi‑dimensional signal‑driven system, the perception and decision layers including low‑interaction detection and end‑side intelligence, and concrete VM tuning cases that illustrate how dynamic optimization is achieved on Android.

8 min read

Building a HarmonyOS Accounting App with HDS Suite: Custom TabBar, Navigation & Progress Components

This tutorial demonstrates how to rapidly construct a HarmonyOS accounting application using the HDS suite, covering a custom center-button TabBar via yltabbar, a title bar with HdsNavDestination, a stacked expense card, a multi-segment circular progress bar with ylprogress, and a horizontal category ranking list.

4 min read

Avoid Common uni.storage Pitfalls: Are You Making These Mistakes?

uni.storage, the data‑persistence solution for UniApp, can cause data loss, memory leaks, security risks, and performance problems if misused; this guide outlines four typical pitfalls—large objects, missing expiration, frequent reads/writes, and unhandled async errors—and provides concrete best‑practice fixes.

7 min read

Explore Baguette and OpenLess: Command‑Line iOS Simulator Control & Cross‑Platform Voice Input

This article reviews two recent open‑source GitHub projects—Baguette, a Swift‑based CLI tool that manages iOS simulators without launching Simulator.app and offers screen streaming, gesture injection, and a web UI, and OpenLess, a cross‑platform voice input utility that uses AI to transform spoken commands into structured prompts, featuring multiple output and recording modes, global hotkeys, and a fully open‑source, local‑first design.

13 min read

How iQIYI Cut Memory Peaks by 60% and Boost Animated Image Loading by 75% with Cangjie on HarmonyOS

iQIYI built a high‑performance image library for HarmonyOS using Huawei's Cangjie language, replacing ArkTS bottlenecks, adding AVIF support and a three‑level cache, and achieved over 60% reduction in memory peak usage and up to 75% faster animated‑image loading, as demonstrated by detailed benchmarks and architectural analysis.

7 min read

Building a WeChat Mini‑Program Dormitory Management System in 20 Minutes with Cursor AI

The author demonstrates how Cursor AI and Opus 4.7 can generate a complete campus dormitory management solution—including a Spring Boot backend, Vue 3 admin portal, and a WeChat mini‑program front‑end—within twenty minutes, and provides the source code, video tutorial, and deployment details.

10 min read

Apple Support App AI Architecture and UI Component Library Exposed in Claude.md Leak

An accidentally bundled Claude.md file from Apple Support version 5.13 reveals how Apple integrates Juno AI with live agents using a protocol‑based, actor‑driven AsyncStream architecture, and details the cross‑platform SAComponents UI library, its SwiftUI previews, and conditional compilation strategy.

13 min read

HarmonyOS Pen Kit: Integrating Stylus Squeeze, Double-Tap & Color Picker

This tutorial demonstrates complete integration of HarmonyOS Pen Kit's stylusInteraction module for squeeze and double-tap events, and imageFeaturePicker for color picking, covering callback reference management, lifecycle-aware registration with try-catch protection, event object fields, and UI feedback patterns including status visualization, counters, and toast notifications.

12 min read

8 GB Android Phones Finally Get Relief as the OS Undergoes a Major Memory Overhaul

Android’s long‑standing lax memory management is being overhauled: Google’s Android 17 Beta 4 introduces a device‑level memory cap, smart notifications, and scenario‑specific rules, while China’s ITGSA alliance issues a “fair run memory” mandate, promising to curb bloated apps, reduce heating and lag, and give 8 GB phones a chance to run smoothly again.

19 min read

How Taro 5.0 Delivers a High‑Performance iOS Rendering Layer and a Unified Cross‑Platform UI Framework

The article explains why existing cross‑platform solutions cannot meet Taro’s demands for high performance, stability, full Taro ecosystem compatibility and low integration cost, and describes the design of a dual‑thread iOS rendering layer, a mixed native‑view + layer approach, and the C++‑based TaroUI framework that provides consistent, high‑speed UI components, a rich‑text engine, virtual list widgets and an extensible architecture for future platforms.

46 min read

Exploring BLE Printing in DingTalk Mini Programs: Implementation and Best Practices

This article provides a detailed engineering analysis of using Bluetooth Low Energy (BLE) within DingTalk mini programs to drive portable thermal printers, covering why BLE is chosen over classic Bluetooth, the GATT communication model, connection lifecycle management, ESC/POS command construction, packet splitting for the 20‑byte BLE limit, and practical image‑printing techniques, all illustrated with code examples and step‑by‑step guidance.