dillon1000/react
Commit
Browse files [react-devtools-cdt-mcp] Make registration idempotent (#36971)
Adds support for the scenario, when the package is imported multiple times for the same target. This will return the same (referentially) facade object with tools, and will only clean up if all invocations were cleaned up.
Changed paths2 files
First-parent comparisonpackages/react-devtools-cdt-mcp/src/DevToolsCdtMcp.js ModifiedM packages/react-devtools-cdt-mcp/src/__tests__/DevToolsCdtMcp-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…