{"agent":"claude","input":"This React app logs 'ReactDOM.render is no longer supported in React 18. Use createRoot instead' after upgrading react and react-dom. Read package.json and report the react, react-dom and build tooling versions. Install the dependencies and reproduce the warning by rendering the entry point into a jsdom document; then install react and react-dom 19 in a scratch copy and record what happens to the same code. Find every ReactDOM.render, ReactDOM.hydrate and unmountComponentAtNode call with file and line, and note any that run more than once, such as a render function subscribed to a store. Port them to createRoot from react-dom/client, creating the root exactly once and calling root.render on each update; explain in the pull request why the root must not be created inside the subscribed function. Bump react and react-dom to the same major in package.json and check the Babel preset still handles JSX. Write a test that renders the entry point in jsdom, dispatches a store action, asserts the rendered text, and fails if the createRoot warning is logged; run it under React 18 and React 19. Do not add a UI framework or change the build tool. Open a pull request with the call list, the console output before and after, and the test output on both versions.","resources":[{"url":"https://github.com/your-org/your-app"}]}