feat(example): convert to Expo app with Expo Router#8
Merged
janicduplessis merged 4 commits intomainfrom Mar 16, 2026
Merged
Conversation
- Remove checked-in android/ and ios/ dirs (generated by expo prebuild) - Add expo-router with file-based routing in example/app/ - Home screen: SectionList grouping all 19 demos (Basic, Transform, Timing, Style, Loop, Advanced) - Detail screen: dynamic route app/[demo].tsx per demo - Extract each demo to individual files in example/src/demos/ - Demo registry in example/src/demos/index.ts for easy lookup - Remove Gemfile (native dirs managed by expo prebuild) - Update .gitignore to exclude generated android/ and ios/
be4456a to
076f500
Compare
- Add build:android and build:ios scripts that run expo prebuild first - Remove bundle install / pod install CI step (expo prebuild handles it) - Update turbo.json inputs for generated native dirs - Fix Gradle cache key (no longer references checked-in gradle-wrapper)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Convert the example app from a bare React Native app to a full Expo app using Expo Router with list → detail navigation.
Motivation: The single long scroll list was hard to navigate and slow for UI automation. With Expo Router, each demo is directly accessible by URL slug. Using
expo prebuildeliminates manual native dir maintenance and issues like the Hermes V1 symbol mismatch.Changes
Structure:
android/andios/dirs — now generated viaexpo prebuild(gitignored)Gemfile— native dirs managed by Expoexample/app/directory with file-based Expo Router routesexpo prebuildinstead ofbundle install/pod installNavigation:
app/index.tsx) — SectionList of all 19 demos grouped by category:app/[demo].tsx) — tap any demo for full-screen view with back buttonDemo components:
example/src/demos/example/src/demos/index.tsfor dynamic route lookupTest Plan
CI passes (lint, build-library, build-android, build-ios).
Videos will be added after merge + rebase of the per-property transitions PR.
Validation
iOS — iPhone 17 Pro (iOS 26.2, Debug build via Metro)
pr8-validation-v2.mp4
Android — Android 16 emulator (arm64)
pr8-android.mp4
Web — Chrome, 390px viewport
pr8-web.mp4