Tagged articles
Declarative UI
27 articles · Page 1 of 1
This article traces Jetpack Compose's five-year evolution from a modest attempt to unbundle Android's UI toolkit for faster bug fixes, through its convergence with React-inspired prototypes and Flutter's influence, to a declarative UI framework built on composable functions, Modifier chains, and pragmatic interoperability, culminating in a 1.0 release battle-tested by the Play Store.
Android UIDeclarative UIFramework Design
0 likes · 26 min read

This article shares the complete development journey of PromptTuner, a HarmonyOS 6 native app for prompt discovery, optimization, and management, covering architecture, ArkUI declarative UI patterns, state management, API abstraction, local analytics, privacy compliance, and performance optimization techniques with concrete code examples and metrics.
ArkTSArkUIDeclarative UI
0 likes · 43 min read

A developer shares technical insights from building 'Light Meal,' a cross-device health diet app on HarmonyOS 6, covering declarative UI with ArkUI, @ComponentV2 state management, performance optimizations cutting startup time 40%, service cards boosting daily active users 20%, and fine-grained permissions raising consent rates to 85%.
ArkUIBackground TasksDeclarative UI
0 likes · 44 min read

The article shares the development of 'Hongtu Zhidao', a travel app built on HarmonyOS 6, detailing its architecture, challenges like multi-tab navigation and AI content persistence, and solutions using ArkTS/ArkUI declarative UI, ArkData local storage, AppStorageV2 for global state, real-time AI itinerary planning, and DevEco Studio's hot reload and multi-device preview.
AppStorageV2ArkDataArkTS
0 likes · 18 min read

This technical case study details the end-to-end development of PromptTuner, a HarmonyOS 6 native app for prompt discovery, optimization, and management, covering three-layer architecture, ArkUI declarative UI patterns, state management, API abstraction, local analytics, privacy compliance, and measurable performance gains.
API abstractionArkTSArkUI
0 likes · 35 min read

A developer shares technical insights from building 'Light Meal Moment' on HarmonyOS 6, covering declarative UI with ArkUI, @ComponentV2 state management, service cards, background tasks, and security — with code examples and measured performance gains of 30-44% across startup, navigation, and memory.
@ComponentV2ArkUIBackground Tasks
0 likes · 56 min read

A HarmonyOS developer shares the technical journey of building 'Shengqu Guoqitong', a children's flag learning app, detailing why HarmonyOS was chosen over Android, Flutter, and React Native, and how Core Speech Kit's offline TTS/ASR and ArkTS declarative UI enabled efficient development of voice-driven, interactive educational features.
ArkTSChildren EducationCore Speech Kit
0 likes · 29 min read

This article provides a concise side‑by‑side comparison of Flutter and Jetpack Compose, covering platform support, language, UI architecture, rendering pipelines, state management, custom UI/animation capabilities, development efficiency, deployment considerations, and ecosystem maturity to help developers choose the right declarative UI framework for their mobile projects.
Declarative UIFlutterJetpack Compose
0 likes · 8 min read

This article introduces ArkTS, HarmonyOS’s preferred TypeScript‑based language, and demonstrates its declarative UI syntax, component creation, property and event configuration, child component nesting, state management, and rendering control through practical code examples.
ArkTSComponent ArchitectureDeclarative UI
0 likes · 6 min read

The guide provides a complete introduction to HarmonyOS, explaining its distributed architecture and one‑time development model, detailing the DevEco toolchain, ArkTS language and ArkUI frameworks, walking through environment setup and a step‑by‑step first app, and covering advanced topics such as state management, componentization, testing, and publishing.
ArkTSArkUIDeclarative UI
0 likes · 17 min read

This article introduces Huawei's upcoming HarmonyOS Next, explains the ArkUI framework with its declarative ArkTS and Web‑like development models, compares the two paradigms, and details how the Taro framework can bridge Web development practices to ArkTS for cross‑platform app creation.
ArkUIDeclarative UIHarmonyOS
0 likes · 8 min read

By using ArkTS’s declarative UI features—@Entry, @Component, @Preview, struct‑based custom components, property chaining, Column layout, and a ForEach loop—this tutorial builds a TodoList where each ToDoItem toggles an isComplete state on click, automatically updating the view through state‑driven rendering.
ArkTSDeclarative UIFrontend Development
0 likes · 6 min read

ArkTS, Huawei’s evolution of JavaScript and TypeScript, provides a declarative UI framework with enhanced rendering, cross‑OS support, and streamlined state management through @State, @StorageLink, and AppStorage, enabling developers to build concise, high‑performance HarmonyOS applications using familiar JS/TS syntax.
ArkTSDeclarative UIFrontend Development
0 likes · 10 min read

Airbnb’s three‑stage migration from its custom Epoxy/UIKit stack to SwiftUI involved extensive evaluation, rebuilding the design system with flexible style protocols, bridging UIKit and SwiftUI, adopting one‑way data flow, extensive testing and training, resulting in six‑fold code reduction, comparable performance, widespread production adoption, and higher developer productivity despite remaining framework challenges.
AirbnbDeclarative UIEpoxy
0 likes · 17 min read

The article dissects Jetpack Compose’s runtime, explaining how the Kotlin compiler plugin transforms @Composable functions with $composer parameters, builds a dual NodeTree using SlotTable and LayoutNode, employs a GapBuffer‑optimized virtual DOM, and leverages a Snapshot‑based MVCC system to manage state changes and trigger efficient recomposition.
Android developmentCompose RuntimeDeclarative UI
0 likes · 22 min read

This tutorial walks through building a simple Jetpack Compose page, showing how to define composable functions, manage reactive state, preview UI, add animations, and adapt layouts for portrait and landscape, providing a concise foundation for modern Android UI development.
Android UIDeclarative UIJetpack Compose
0 likes · 11 min read

This article introduces Jetpack Compose, Google’s modern declarative UI toolkit for Android, explaining its origins, core concepts of declarative UI, basic usage, essential components like Text, Button, Image, layout containers, modifiers, state management, and provides practical code examples to help developers build efficient, modern Android interfaces.
Android UIDeclarative UIJetpack Compose
0 likes · 21 min read

Airbnb’s Epoxy iOS framework replaces fragile, indexPath‑driven imperative UI code with a declarative model‑based system that automatically diffs and animates view updates, eliminating crashes, boosting developer satisfaction from –78 to +58, and enabling a unified, open‑source approach to building Swift interfaces.
Declarative UIDiffing AlgorithmEpoxy
0 likes · 10 min read

Jetpack Compose is a new Android UI framework that replaces traditional View and ViewGroup with a declarative approach, allowing developers to write less code, achieve faster development, and create more maintainable applications.
Android StudioAndroid UIDeclarative UI
0 likes · 15 min read

This article introduces Jetpack Compose, explains why it replaces XML‑based Android UI, walks through environment setup, Gradle configuration, and dependency inclusion, demonstrates the setContent and XML integration methods, explores composable functions, state management, list rendering with LazyColumn, and shares practical tips and reflections on declarative UI development in Android.
AndroidDeclarative UIJetpack Compose
0 likes · 20 min read

This article introduces SwiftUI, compares it with other declarative UI frameworks, explains its rendering pipeline, lifecycle, data‑binding mechanisms, language features, and discusses how Qunar has adopted SwiftUI and migrated parts of its native iOS codebase from Objective‑C to Swift.
CombineDeclarative UIFrontend Development
0 likes · 19 min read

The article presents a Swift‑based declarative UI framework for UIKit that replaces AutoLayout with a flexible, CSS‑like style system, reactive state handling, and extensible layout nodes, enabling cleaner code, efficient animated lists, and improved development speed while planning future optimizations such as dirty‑checking and virtual layouts.
Declarative UIFlexboxReactive Programming
0 likes · 11 min read

This article introduces Jetpack Compose, Google's modern declarative UI toolkit for Android, covering its history, installation steps, adding Compose to existing projects or creating new ones, basic composable functions, layout techniques with Column, Container, Spacer, Material Design styling, and preview capabilities, all illustrated with Kotlin code examples.
Declarative UIJetpack ComposeKotlin
0 likes · 18 min read

This article explains SwiftUI's declarative UI approach by introducing Swift 5.1 language features such as Opaque Result Types, Property Delegates, and Function Builders, illustrating their implementation with code examples, and discussing component composition, data flow, preview capabilities, and future prospects for mobile development.
Declarative UIFunction BuildersProperty Wrappers
0 likes · 15 min read

This article compares Apple’s SwiftUI and Google’s Flutter declarative UI frameworks across development environment, UI components, layout, navigation, native integration, and state management, highlighting their similarities, differences, code complexity, and maturity for cross‑platform mobile app development.
Declarative UIFlutterState Management
0 likes · 16 min read

Litho is a Facebook‑originated declarative framework for building high‑performance Android UI, replacing XML layouts with component‑based code, leveraging Yoga for async layout, flattening view hierarchies, and offering fine‑grained reuse to dramatically improve RecyclerView scrolling speed and memory consumption.
@ComponentAndroidDeclarative UI
0 likes · 17 min read

Litho, Facebook’s declarative Android UI framework, lets developers define components with immutable props and asynchronous layout, flattening view hierarchies and enabling fine‑grained reuse to boost scroll performance and cut memory usage, though it requires custom component code and lacks a real‑time preview.
AndroidDeclarative UILitho
0 likes · 15 min read
