Re.pack and its Module Federation / Micro-frontends is not working with expo
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react-native, webpack
- Domain
- build-system, mobile
Research direction
No files, tests, or code entry points are named. Start by reviewing the documented statement that Expo is unsupported and assess the requested scope: Expo SDK 53/54+, Expo Router, development builds, Android and iOS, and the New Architecture; done would be an official support path or experimental guide with the stated limitations explained.
Written by the indexing model from the issue text.
Description
Description
I'm building a multi-tenant React Native platform using Expo, where different customers can have different feature sets.
The ideal architecture would allow downloading or loading feature modules at runtime (similar to Module Federation / Micro Frontends) without rebuilding the entire application.
After reading the documentation, I noticed that Re.Pack currently doesn't officially support Expo.
Official support (or an experimental guide) for integrating Re.Pack with modern Expo projects using:
- Expo SDK 53/54+
- Expo Router
- Expo Development Builds (not Expo Go)
- Android & iOS
- React Native New Architecture
Even if Expo Go cannot be supported due to Metro, it would be extremely valuable if Re.Pack could work with custom development builds and production Expo applications.
Use case
- One host application serves multiple tenants.
- Some features should be downloaded or enabled independently.
- We'd like to avoid publishing a new application whenever a new module is introduced.
Module Federation seems like an ideal solution for this use case.
Questions
- Is Expo support on the roadmap?
- Is there any technical limitation preventing Re.Pack from working with Expo Development Builds?
- Has anyone successfully integrated Re.Pack with Expo Router?
- Are there any recommended alternatives for achieving runtime module loading in Expo?
Additional context
The current documentation states:
"Officially, Re.Pack doesn't support Expo."
However, since Expo now supports custom development builds and prebuild workflows, it seems that supporting Expo (outside Expo Go) could unlock many enterprise use cases.
I'd appreciate any guidance on whether this is feasible.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 164
- Avg merge
- 10d 13h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from callstack/repack
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Dev server progress goes backwards mid-compilation (non-monotonic percentage forwarded to reporters) Open
Difficulty 3/5 1-2 days Newbie friendliness 70/100
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
area:repack type:feature
Difficulty 5/5 Over a week Newbie friendliness 42/100
All issues in callstack/repack
Similar issues
-
blocklist removal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100