Open
Description
Clear and concise description of the problem
Re.Pack supports MF V1, for V2 supports we need adjust how containers are loaded in React-Native environment.
Suggested solution
- create separate
loadScript
andcreateScript
handlers for React Native environment in@module-federation/sdk
- disable auto preload since it only supports browser env atm - related PR: chore: no auto preload when calling loadRemote #2741
Alternative
- auto preload can be disabled through
loaded-first
strategy and that can come from Re.Pack's own runtime plugin
Additional context
Related Re.Pack issue: callstack/repack#518
Related Re.Pack PR: callstack/repack#674
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Assignees
Labels
No labels