Re.pack and its Module Federation / Micro-frontends is not working with expo
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- react-native, webpack
- Ambito
- build-system, mobile
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso del codice. Inizia esaminando l’affermazione documentata secondo cui Expo non è supportato e valuta l’ambito richiesto: Expo SDK 53/54+, Expo Router, build di sviluppo, Android e iOS e la New Architecture; il lavoro sarebbe completato con un percorso di supporto ufficiale o una guida sperimentale che spieghi le limitazioni indicate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 164
- Merge medio
- 10g 13h
- PR unite (30g)
- 10
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di callstack/repack
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
-
json as string in JS bundle Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Dev server progress goes backwards mid-compilation (non-monotonic percentage forwarded to reporters) Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
-
area:repack type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
Tutte le issue di callstack/repack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
bcgov/bc-wallet-mobile#4761 · 1 commento ·
-
external-issue to-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100