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.
- Each tenant has different modules (Taxi, Food Delivery, Parcel, Wallet, Loyalty, etc.).
- 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.
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:
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
Module Federation seems like an ideal solution for this use case.
Questions
Additional context
The current documentation states:
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.