dillon1000/react
Commit
Browse files [react-devtools-cdt-mcp] Throw on import from unsupported environment (#36975)
This add an additional validation that the package is imported in a browser-like environment. If not, we should be explicit with the user and throw an error.
Changed paths2 files
First-parent comparisonpackages/react-devtools-cdt-mcp/src/__tests__/DevToolsCdtMcp-test.js ModifiedM packages/react-devtools-cdt-mcp/src/index.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…