Skip to content

fix: show source maps for MF2 remotes in DevTools#1168

Merged
jbroma merged 2 commits intomainfrom
fix/devtools-mf
Jun 10, 2025
Merged

fix: show source maps for MF2 remotes in DevTools#1168
jbroma merged 2 commits intomainfrom
fix/devtools-mf

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Jun 10, 2025

Summary

One of the RN DevTools releases introduced an event interceptor for Network.loadNetworkResource event which is vital to loading source maps from sources other than host app one. This PR adds a workaround which disable that interceptor for this specific event.

  • - show source maps from MF2 remotes in RN DevTools
  • - degrade info to debug logs for DevTools

Test plan

  • - tester-federation-v2 shows all sourcemaps

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 10, 2025

🦋 Changeset detected

Latest commit: 55da0aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack-dev-server Patch
@callstack/repack Patch
@callstack/repack-plugin-expo-modules Patch
@callstack/repack-plugin-nativewind Patch
@callstack/repack-plugin-reanimated Patch
@callstack/repack-init Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repack-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 4:51pm

@jbroma jbroma merged commit 71a989b into main Jun 10, 2025
5 checks passed
@jbroma jbroma deleted the fix/devtools-mf branch June 10, 2025 16: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