You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Screens preset (mock engine): react-native-screens/experimental serves the root namespace #877
Under engine: 'mock', the screens preset serves its root namespace for the react-native-screens/experimental entry. That entry's own exports are missing: import { SafeAreaView } from 'react-native-screens/experimental' is undefined, and rendering it throws "Element type is invalid … got: undefined". Root-only exports such as enableScreens appear on it instead.
Under the default engine the entry loads its real file (since #459), and SafeAreaView renders its children.
Seen with react-native 0.88.1, react-native-screens 4.30.1 and vitest 5.1.0 on platform: 'android'. First reported in #717 (comment).
Acceptance criteria
Under engine: 'mock', react-native-screens/experimental exports what the installed package's entry exports, and does not export root-only names.
SafeAreaView from that entry renders its children under the mock engine.
A test, written in this repository's own fixtures, fails on main and passes with the fix.
Activity