> Markdown version of [/videos/207-mobile-at-a-crossroads-the-declarative-ui-app-revolution?t=285](https://www.wearedevelopers.com/videos/207-mobile-at-a-crossroads-the-declarative-ui-app-revolution?t=285). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Mobile at a Crossroads: The Declarative UI App Revolution Why are traditionally siloed iOS and Android teams suddenly reviewing each other's code? Discover how the declarative UI revolution of SwiftUI and Jetpack Compose is transforming native development. - **Speakers:** Peter Steinberger - **Event:** World Congress 2021 - **Published:** June 30, 2021 - **Duration:** 44:09 - **URL:** https://www.wearedevelopers.com/videos/207-mobile-at-a-crossroads-the-declarative-ui-app-revolution ## Summary The mobile development landscape is undergoing a massive shift from imperative programming to declarative UI frameworks. Early attempts to bring web-like rapid development to mobile, such as React Native and Flutter, introduced highly beneficial cross-platform concepts but carried long-term platform ecosystem risks. In response, Apple and Google released their own first-party native solutions: SwiftUI and Jetpack Compose. This transition demands a new perspective from engineers, requiring them to accept "that it's okay to rebuild parts of your UI from scratch instead of modifying them." By allowing state changes to automatically trigger UI rebuilds, these modern frameworks eliminate an entire category of state-related bugs and dramatically increase developer productivity. While SwiftUI and Jetpack Compose share a common declarative philosophy, their architectural implementations diverge significantly. Jetpack Compose operates as an unbundled, open-source library that ships within the app binary, offering robust backward compatibility to Android 5 and allowing developers to patch UI bugs independently of OS updates. Conversely, Apple deeply integrated SwiftUI into the iOS operating system. This bundled approach yields smaller app sizes, faster startup times, and better battery life, but forces developers to rely on iOS version updates for underlying bug fixes and manage fragmented codebases to support older hardware. Despite these differences, both frameworks are now robust enough for production and provide convenient fallbacks to imperative primitives—UIKit or classic Android Views—whenever declarative APIs are missing. Beyond raw app performance, this declarative revolution fundamentally reshapes team dynamics. Because SwiftUI and Jetpack Compose share strikingly similar structures and syntax, traditionally siloed iOS and Android platform teams can now utilize common architectures and seamlessly review each other's code. This cross-pollination is further accelerated by technologies like Kotlin Multiplatform Mobile (KMM), which allows teams to effectively share underlying business logic between platforms natively. Ultimately, while third-party cross-platform tools retain specific use cases, first-party declarative frameworks represent the definitive, high-performance future of native app development. **Keywords:** declarative UI frameworks, imperative UI programming, swiftui, jetpack compose, UI state management, mobile cross-platform development, react native, flutter framework, unbundled UI libraries, bundled OS frameworks, kotlin multiplatform mobile, mobile app architecture, iOS backward compatibility, android UI toolkit, native UI components ## Chapters 1. **The shift from imperative to declarative mobile frameworks** (00:03) — Modern mobile development is transitioning to frameworks that dramatically increase developer productivity. 1. **Core concepts and perspective shifts in declarative programming** (02:33) — Rebuilding the interface from scratch upon state changes removes entire categories of bugs. 1. **Evolution of cross-platform development with React Native and Flutter** (04:45) — Early frameworks brought web development concepts to mobile but struggled with platform integrations and adoption. 1. **Introduction of first-party declarative solutions by Apple and Google** (07:47) — Platform vendors created native solutions to overcome the limitations of third-party cross-platform frameworks. 1. **Advantages of unbundling in Jetpack Compose for Android** (10:01) — Shipping the user interface framework independently from the operating system enables faster bug fixes. 1. **Navigating the ecosystem and integration of Apple SwiftUI** (13:38) — Deep integration within the operating system offers performance benefits but ties bug fixes to user updates. 1. **Handling operating system version challenges in SwiftUI views** (19:31) — Supporting older operating systems requires complex workarounds for components that lack legacy compatibility. 1. **Building a live interactive preview using Jetpack Compose** (21:54) — Creating a simple counter application demonstrates how immutable state changes trigger interface updates. 1. **Implementing reactive state changes in a SwiftUI application** (29:49) — Using property wrappers allows developers to manage local view state and construct identical layouts. 1. **Sharing business logic across platforms with Kotlin Multiplatform Mobile** (34:23) — Similar syntax between native frameworks allows teams to share architecture and business logic efficiently. 1. **Readability and structural similarities across declarative UI frameworks** (38:31) — Developers from varied backgrounds can easily understand and review code due to shared structural concepts. 1. **Managing adaptive layouts and overcoming the initial learning curve** (40:26) — Developers transitioning from legacy paradigms can master adaptive components with a few days of practice. 1. **Ecosystem maturity and third-party package managers for modern frameworks** (42:47) — Swift Package Manager provides an expanding repository of solutions comparable to established web package ecosystems. ## Related Moments - [Comparing declarative cross-platform architectures like Flutter and React Native](https://www.wearedevelopers.com/videos/555-flutter-packages-and-plugins-a-look-under-the-hood) (from "Flutter Packages and Plugins - A Look Under the Hood") - [Context for migrating an Android app to declarative UI](https://www.wearedevelopers.com/videos/765-migration-to-declarative-ui-in-android-development) (from "Migration to declarative UI in Android development") - [Origins and architectural capabilities of the React Native framework](https://www.wearedevelopers.com/videos/556-the-perfect-ci-cd-react-native-pipeline-with-fastlane) (from "The perfect CI/CD React Native pipeline with Fastlane") - [Defining native applications and the history of React](https://www.wearedevelopers.com/videos/277-hands-on-react-native-from-zero-to-hero) (from "Hands-on React Native: From Zero to Hero") - [Defining the core concepts of Flutter and React](https://www.wearedevelopers.com/videos/401-is-flutter-ready-for-the-web-yet-a-live-coding-comparison-between-flutter-and-react) (from "Is Flutter ready for the web yet? - A live coding comparison between Flutter and React") - [Improving developer productivity with cross-platform mobile application frameworks](https://www.wearedevelopers.com/videos/533-the-power-of-the-community) (from "The power of the community") ## Related Articles - [Cross Platform Mobile Development Frameworks to Use in 2025](https://www.wearedevelopers.com/magazine/404-cross-platform-mobile-development-frameworks-to-use-in-2025) - [Declarative Design and a fresh take on collaboration with developers](https://www.wearedevelopers.com/magazine/595-declarative-design-and-a-fresh-take-on-collaboration-with-developers) - [A Guide to Choosing the Right Tools for App Developers](https://www.wearedevelopers.com/magazine/391-a-guide-to-choosing-the-right-tools-for-app-developers) - [Native Web Apps: Are We There Yet?](https://www.wearedevelopers.com/magazine/83-native-web-apps-are-we-there-yet) ## Related Jobs - [iOS Engineer](https://www.wearedevelopers.com/jobs/ext/3044501-ios-engineer) at **Bitpanda** - [Ios Engineer, Swift (Onboarding & Verification)](https://www.wearedevelopers.com/jobs/ext/2777999-ios-engineer-swift-onboarding-verification) at **Bitpanda** - [Senior Ios Engineer - €50.000 A Year](https://www.wearedevelopers.com/jobs/ext/2148396-senior-ios-engineer-50-000-a-year) at **Dynatrace** - [Senior React Native Developer](https://www.wearedevelopers.com/jobs/ext/1518176-senior-react-native-developer) at **Almedia** - [Frontend Engineer](https://www.wearedevelopers.com/jobs/ext/2731832-frontend-engineer) at **Almedia** - [Staff Systems Engineer](https://www.wearedevelopers.com/jobs/48371-staff-systems-engineer) at **Bitdrift**