David Ewins
Error library

SwiftUI component inside a React Native View inside a Host does not render

ExpoLikely fix

Expo SDK 57, @expo/ui

There is no error message for this one, only the symptom in the title.

Cause

A React Native view inside a Host switches back to React Native layout, so SwiftUI below it needs its own Host.

Fix

Wrap the nested SwiftUI component in another <Host>, or keep SwiftUI controls and RN layout in separate blocks (RNHostView for RN inside SwiftUI).

More Expo errors

Search all errors