Skip to content
Flow-UILive
On this page

SDUI vs Flutter and React Native

Flutter and React Native still ship UI as code, so layout tweaks wait on stores. SDUI ships UI as data on top of native SwiftUI.

Ayush MishraPublished 6 min read

SDUI vs Flutter and React Native is a release-unit comparison, not a frame-rate contest. Flutter and React Native still ship UI as code, so a padding tweak waits on the stores. Server driven UI ships UI as data on top of a native toolkit you already chose. On iOS with Flow-UI, that toolkit is SwiftUI.

There are no FPS numbers in this article. Anyone who tables "SDUI is 12% faster than RN" is selling a benchmark you cannot reproduce on your page. The distinction that survives a week in production is whether a layout change is a binary or a document.

Kenin Kujovic and others sketch three options: WebView, shared cross-platform code, and SDUI. SDUI vs WebViews on iOS is the first pair. This post is the second. Pyramid-style "SDUI vs cross-platform" posts and LinkedIn threads about RN versus native-plus-SDUI are the community noise this answers. When not to use server driven UI is the honesty check if you expected one stack to replace MapKit.

The release unit#

ApproachWhat you ship to change layoutWhat paints the pixels
Native SwiftUI, no SDUIAn App Store binarySwiftUI
FlutterAn App Store (and Play) binary of Dart compiled UIFlutter engine
React NativeAn App Store binary of JS/native bridge UI, unless you add a separate live-update productRN views
SDUI on SwiftUIA JSON page, for widgets already in the binarySwiftUI

Flutter and React Native are native-ish renderers with a shared codebase. They are still code. You rebuild, you review, you wait for adoption. Some teams layer CodePush-style updates on RN; that is a different product with different Review posture. Do not flatten it into "RN is SDUI".

SDUI on Flow-UI is a JSON envelope plus an open widget registry. The backend composes pages, sections, and widgets. The client already contains TitleBlockWidget and your OrderCardWidget. Rearranging those is data. A new widget type is still Swift, still a binary. Flutter and React Native do not give you that data deploy for free: their layout still ships as code.

What "native" means in this comparison#

Flow-UI widgets are SwiftUI views. Scrolling, swipe-back, VoiceOver, and Dynamic Type come from the platform. Flutter paints with its engine. React Native paints with a bridge and native views, depending on the version and architecture. All three can look good. Only SDUI-on-SwiftUI lets an iOS team keep the SwiftUI they already write for checkout, and still let merchandising reorder a feed without a release.

The FAQ is blunt: this is not WebViews with extra steps. It is also not Flutter with extra steps. Introduction is the mental model: page, section, widget.

HomePage.swiftswift
import FlowUI
 
let registry = WidgetRegistry()
FlowWidgets.register(on: registry)
registry.register(OrderCardWidget.self)
 
let store = PageStore(pageID: "home", loader: APILoader(), registry: registry)
FlowPageView(store: store)

That view tree is SwiftUI. There is no FlutterView, no RCTRootView, and no WKWebView in the path unless you put one in a custom widget on purpose.

swift
registry.register(OrderCardWidget.self)

What each stack is good at#

Flutter / RN when the product is one codebase across iOS and Android, the UI is owned by a cross-platform team, and release cadence is already the bottleneck you accepted. You still wait on stores for layout. You gain shared widgets across platforms.

SDUI on native iOS when iOS already owns SwiftUI, Android already owns its renderer (or its own SDUI), and the thing that must move weekly is composition: which widgets, what copy, what order. Airbnb's Ghost write-up is the industry pattern, not a Flow-UI case study: one schema, native renderers per platform.

WebView when the page is a document or a vendor flow. Different scrolling, different gestures, different accessibility. See the WebView article.

Handwritten SwiftUI when the page is stable, gesture-heavy, or a canvas. SDUI is a cost. If you change UI once a quarter, pay the SwiftUI preview, not a schema committee.

Cross-platform SDUI is a third thing#

You can send the same JSON to iOS and Android. Mobile Native Foundation discussion 47 is the industry wish: one backend response, old binaries, actions instead of hardcoded navigation. Flow-UI is the SwiftUI renderer for that contract. It does not implement Android. It does not ship a router. Deeplinks are host handlers. It performs no HTTP; PageLoader is yours.

Do not expect Flow-UI to replace Flutter as a multi-OS UI runtime. That is not the product. The product is: iOS paints native SwiftUI from a document.

Performance is the wrong argument#

Shared-code pitches used to say "we are faster than WebViews" and SDUI pitches used to say "we are faster than RN". Compose and SwiftUI previews weakened the "SDUI is always faster to ship" claim too: a stable settings page may be quicker as code. Feel is qualitative: native scrolling versus a web process versus an engine. Measure your page if you must. Do not quote this blog as a benchmark.

Jank on an SDUI page is usually decode on the main actor, image loading, or a widget body doing work. Flow-UI detaches decode; see Swift 6 and MainActor widgets. Flutter jank is usually something else. Different profilers. Different fixes.

One JSON, two native renderers#

The Mobile Native Foundation thread that keeps coming back is not "replace iOS with Flutter". It is one backend response across iOS, Android, and sometimes web, with old binaries that must not crash. Flow-UI is the SwiftUI renderer for that contract. Android remains a native renderer the Android team owns. The JSON is the contract; the pixels are not shared.

That is closer to Airbnb Ghost as an industry pattern than it is to a Flutter module inside an iOS app. You can still embed a Flutter engine for a canvas that SDUI should not own. That is a widget-sized hole, or a different page, not a reason to describe the whole app as Flutter.

A shared envelope also means shared mistakes. If iOS registers order_card and Android does not, the same document looks different. Version the type catalogue in engineering, not in a comment in the CMS. Flow-UI contains unknown types; it does not sync your Android registry.

Hybrid teams#

Many companies already have RN or Flutter for a second product, and SwiftUI for the flagship iOS app. SDUI on the flagship does not require deleting the other runtime. It requires that merchandising pages on iOS stop waiting for an iOS release when the widgets already exist. The RN app can keep shipping code. The two release trains are allowed to differ. Pretending they are one train is how you get a schema committee and a Flutter rewrite in the same quarter.

Feature flags are not the same split#

Flags toggle code you already shipped. Remote config swaps copy and numbers. SDUI rearranges native widgets from JSON. They stack. Feature flags vs SDUI vs remote config is that triangle. Flutter and RN teams use flags too. Flags do not turn a Flutter widget into a data deploy of a type that is not in the binary.

The Flow-UI mark: two nodes joined through a filled centre

SDUI vs Flutter and React Native: they ship UI as code; SDUI ships UI as data on native SwiftUI. New widget types still need a binary. Layout among known types does not.

More on the blog.

Read the source

Flow-UI is MIT licensed. The schema, renderer and starter widgets live on GitHub.

GitHub

Get started with Flow-UI

Install the Swift package, register a widget, and render a page from JSON.

Get started