Skip to content

Commit 3b4f46b

Browse files
authored
Merge pull request #27 from rpearce/chore/dev-deps
chore: update all dev deps
2 parents 1c1ef6a + 53fcd80 commit 3b4f46b

File tree

4 files changed

+3632
-8580
lines changed

4 files changed

+3632
-8580
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
cache: 'npm'
1818

1919
- name: Install deps without updating package-lock.json
20-
run: npm i --no-save
20+
run: npm i --no-save --legacy-peer-deps
2121

2222
- name: Run the CI build
2323
run: npm run ci

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)