Skip to content

Commit 0815a34

Browse files
committed
chore: update all dev deps
1 parent 1c1ef6a commit 0815a34

File tree

3 files changed

+3631
-8579
lines changed

3 files changed

+3631
-8579
lines changed

example/app.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint react/prop-types: 0 */
22

33
import React, { Component, createRef } from 'react'
4-
import ReactDOM from 'react-dom'
4+
import { createRoot } from 'react-dom/client'
55

66
import withForwardedRef from '../dist/esm'
77

@@ -31,4 +31,5 @@ class App extends Component {
3131
}
3232

3333
const container = document.querySelector('[data-app]')
34-
ReactDOM.render(<App />, container)
34+
const root = createRoot(container)
35+
root.render(<App />)

0 commit comments

Comments
 (0)