RORK LABJP
BUILD — Rork Max runs real Macs in the cloud loaded with Xcode and the iOS SDK, writing SwiftUI, compiling, reading the errors and building again. That loop, not the code generation, is what lifts the outputNATIVE — What comes out is pure Swift and SwiftUI, not React Native. Reaching AR, Metal graphics and widgets that React Native cannot touch is the real gap between this and other buildersPLATFORMS — Coverage spans iPhone, iPad, Apple Watch, Apple TV and Vision Pro, plus iMessage. Worth a look if you want to start from a watch app or an extension rather than a phone screenCOMPANION — The Rork Companion app lets you check a generated build on a real iPhone without a paid Apple Developer account, lowering the bar for trying a first project end to endPRICING — Free to start, paid plans from $25 a month, and Rork Max on the $200 Max plan. Worth working out up front how many projects it takes to earn that backDEADLINE — From August 31, 2026, Google Play requires target API level 36 or higher for new apps and updates alike. Ten days out, and the targetSdkVersion of what you generate is yours to verifyBUILD — Rork Max runs real Macs in the cloud loaded with Xcode and the iOS SDK, writing SwiftUI, compiling, reading the errors and building again. That loop, not the code generation, is what lifts the outputNATIVE — What comes out is pure Swift and SwiftUI, not React Native. Reaching AR, Metal graphics and widgets that React Native cannot touch is the real gap between this and other buildersPLATFORMS — Coverage spans iPhone, iPad, Apple Watch, Apple TV and Vision Pro, plus iMessage. Worth a look if you want to start from a watch app or an extension rather than a phone screenCOMPANION — The Rork Companion app lets you check a generated build on a real iPhone without a paid Apple Developer account, lowering the bar for trying a first project end to endPRICING — Free to start, paid plans from $25 a month, and Rork Max on the $200 Max plan. Worth working out up front how many projects it takes to earn that backDEADLINE — From August 31, 2026, Google Play requires target API level 36 or higher for new apps and updates alike. Ten days out, and the targetSdkVersion of what you generate is yours to verify
Articles/Dev Tools
Dev Tools/2026-08-17Advanced

When an Expo UI drop-in swap actually removes a dependency

Expo UI went stable in SDK 56 with drop-in replacements for eight community packages. Swapping one import does not always shrink your dependency list. Here is how to decide which swaps actually pay off, straight from the dependency graph.

Expo175React Native227Expo UIIndie Dev38Dependencies2

Premium Article

I expected to delete one line from package.json. The line stayed.

Expo UI became stable in SDK 56. The pickers, sliders, and sheets that used to come from community packages are now backed by real SwiftUI and Jetpack Compose views, and eight of those packages ship drop-in replacements. The official wording is that most migrations are a one-line import swap.

The wallpaper app I run has a screen that pages through images horizontally. Because it handles both paging and jump-to-page, seeing react-native-pager-view on the replacement list felt like an easy win: swap the import, drop the dependency.

The dependency did not drop. The reason lived somewhere else entirely — in another package that requires it. And it was declared under peerDependencies, which means staring at package.json would never have shown it to me.

Before deciding whether to migrate, I needed a mechanical answer to a smaller question: does anything actually get removed?

The replacement table is not a removal table

These are the eight pairs that shipped in SDK 56. The mapping itself is public and stable.

Community packageDrop-in replacement
@react-native-community/datetimepicker@expo/ui/community/datetime-picker
@react-native-community/slider@expo/ui/community/slider
react-native-pager-view@expo/ui/community/pager-view
@react-native-picker/picker@expo/ui/community/picker
@react-native-segmented-control/segmented-control@expo/ui/community/segmented-control
@react-native-masked-view/masked-view@expo/ui/community/masked-view
@react-native-menu/menu@expo/ui/community/menu
@gorhom/bottom-sheet@expo/ui/community/bottom-sheet

This table answers one question: does a replacement exist? It says nothing about whether swapping to it shrinks your dependency list. That second question has a different answer in every project.

If your motivation is "I want this screen to look like the OS," the first question is enough. If your motivation is "I want fewer native dependencies so that fewer things break on every SDK bump," you need the second one answered before you estimate the work. Mine was the second.

peerDependencies do not show up in a package.json grep

Manual verification usually looks like this:

grep react-native-pager-view package.json
# "react-native-pager-view": "^9.0.2"

One direct dependency. One screen using it. It reads as removable.

In reality react-native-tab-view requires it, and the requirement is not written where you are looking:

// react-native-tab-view@4.3.2 package.json (excerpt)
{
  "dependencies": {
    "use-latest-callback": "^0.2.4"
  },
  "peerDependencies": {
    "react": ">= 18.2.0",
    "react-native": "*",
    "react-native-pager-view": ">= 6.0.0"
  }
}

A peer dependency says "I will not install this, but I assume it is there." If you use React Navigation's material top tabs, react-native-tab-view is in your tree, so react-native-pager-view stays. You could convert every one of your own screens to Expo UI and still remove exactly zero npm packages.

That was the trap. Whether a swap removes anything is decided not by the package you are replacing, but by whatever else declares it as a peer.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
You will be able to tell, with a single command, which of the eight Expo UI replacements actually remove a dependency from your specific project
You will catch the dependencies that survive the swap through peerDependencies before you spend an afternoon on the migration
If you share components across several apps, you will be able to pick which app and which screen to start with based on the dependency graph rather than a guess
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-06-27
Before a Free Preview Walks Out via Screenshot: Detecting Screenshots and Screen Recording in Rork/Expo
How to protect paid preview images from screenshots and screen recording in a Rork/Expo app: the limits of expo-screen-capture, native isCaptured monitoring, and an iOS/Android-aware blur design.
Dev Tools2026-06-20
Bugs Rork Can Fix vs. Bugs You Should Fix Yourself: A Triage Workflow for Exported Code
A practical triage workflow for telling apart the bugs Rork resolves on its own from the ones you should hand-fix in exported React Native/Expo code, with working examples.
Dev Tools2026-08-16
Find the Code That Trips App Store 2.5.2 Before You Submit
If a remote value can change what your app does, Guideline 2.5.2 may apply. Here is where the line actually sits, plus a script that surfaces the risky paths in your repo before submission.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →