Skip to content

Commit cd5b2ad

Browse files
authored
Prefixing unstable_ (#3226)
Prefixed `unstable_` for the experimental ReactDOM.createRoot().
1 parent d16f1ee commit cd5b2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/concurrent-mode-adoption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ import ReactDOM from 'react-dom';
7171
//
7272
// You can opt into Concurrent Mode by writing:
7373

74-
ReactDOM.createRoot(
74+
ReactDOM.unstable_createRoot(
7575
document.getElementById('root')
7676
).render(<App />);
7777
```

0 commit comments

Comments
 (0)