Repository navigation
Conversation
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this. |
a749eb6 to
efaf6a6
Compare
Adds a minimal docs for
react-devtools-cdt-mcp, the experimental library that exposes React DevTools data to agents through Chrome DevTools MCP.Aa new experimental reference page, React DevTools for agents (
/reference/dev-tools/react-devtools-cdt-mcp), is listed under React DevTools in the reference sidebar. It covers:register()How: the sandbox imports
react-devtools-cdt-mcp/registerlike a real app would. A small hidden tool console then discovers the tools the same way Chrome DevTools MCP does, by dispatching thedevtoolstooldiscoveryevent, so readers can call every tool without an extension or an MCP server.Known issue: Sandpack's package CDN doesn't know about
react-devtools-cdt-mcp@0.1.0yet. It returns "Package version not found", so the sandbox pins0.0.1, which has the same 12 tools. Bump the pin once the CDN picks up the new version.