Skip to content

Commit 5c623fe

Browse files
updated react example to v18
1 parent a0a329b commit 5c623fe

File tree

1 file changed

+1
-1
lines changed
  • code/react-vs-vanilla-js-example/react/src

1 file changed

+1
-1
lines changed

code/react-vs-vanilla-js-example/react/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import ReactDOM from 'react-dom';
2+
import ReactDOM from 'react-dom/client';
33

44
import './index.css';
55
import App from './App';

0 commit comments

Comments
 (0)