Async import (lazy bundling) fails to resolve in a monorepo with React Native version 0.73-0.76 (Android only)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 696
- Avg merge
- 8m
- Merged PRs (30d)
- 7
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Dynamic import fails to resolve in a monorepo with React Native version 0.74.0
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install and yarn test.
I have a min-size demo here https://github.com/Bob-FE/bare-rn-0740-monorepo
What is the expected behavior?
can resolve module with dynamic import
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.
Research direction
Start with the min-size reproduction at https://github.com/Bob-FE/bare-rn-0740-monorepo and follow its installation and test instructions. Reproduce the Android-only failure with React Native 0.74.0, then compare the behavior across the affected React Native 0.73–0.76 versions. Done means the monorepo resolves the dynamically imported module through Metro's async import handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100