Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch(metro-runtime): Add cycle resolution support to require #1

Closed
wants to merge 14 commits into from

Conversation

ealush
Copy link
Owner

@ealush ealush commented Dec 14, 2022

No description provided.

@ealush ealush changed the title Add watcher integration tests (facebook#897) Begin working on cycle resolution Dec 14, 2022
@ealush ealush force-pushed the 2022-12-14-resolving-cycles branch 2 times, most recently from bccbfa7 to 7c9db0f Compare December 14, 2022 16:09
@ealush ealush force-pushed the 2022-12-14-resolving-cycles branch 4 times, most recently from 82b8811 to a5e8545 Compare December 19, 2022 20:07
@ealush ealush changed the title Begin working on cycle resolution patch(metro-runtime): Add cycle resolution support to require Dec 19, 2022
didBailOut = true;
return [];

const {updatedModuleIDs, cycles} = topologicalSort(
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main change to this function is the explicit return of the updatedModuleIDs and the cycles Set.

@ealush ealush closed this Dec 30, 2022
@ealush ealush deleted the 2022-12-14-resolving-cycles branch December 30, 2022 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant