From 7fdb783520f89b0e59d91731e1f6f0522c20b6e2 Mon Sep 17 00:00:00 2001 From: Shiv Shankar Tiwari Date: Fri, 3 Oct 2025 20:58:57 +0530 Subject: [PATCH 1/2] chore(fixtures): migrate attribute-behavior fixture to createRoot API --- fixtures/attribute-behavior/src/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fixtures/attribute-behavior/src/index.js b/fixtures/attribute-behavior/src/index.js index 7fa0938e3278a..cc0be8ae0ed6c 100644 --- a/fixtures/attribute-behavior/src/index.js +++ b/fixtures/attribute-behavior/src/index.js @@ -1,6 +1,9 @@ -import './index.css'; import React from 'react'; -import ReactDOM from 'react-dom'; +import { createRoot } from 'react-dom/client'; import App from './App'; -ReactDOM.render(, document.getElementById('root')); +const container = document.getElementById('root'); +if (container) { + const root = createRoot(container); + root.render(); +} From 8866059b7935a43d5e35175246c960898c1ce609 Mon Sep 17 00:00:00 2001 From: Shiv Shankar Tiwari Date: Fri, 3 Oct 2025 21:52:18 +0530 Subject: [PATCH 2/2] chore: test signed commit