We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e536f8 commit 33cc72cCopy full SHA for 33cc72c
src/act-compat.js
@@ -2,7 +2,6 @@ import * as React from 'react'
2
import ReactDOM from 'react-dom'
3
import * as testUtils from 'react-dom/test-utils'
4
5
-const isomorphicAct = React.unstable_act
6
const domAct = testUtils.act
7
const actSupported = domAct !== undefined
8
@@ -87,7 +86,7 @@ function withGlobalActEnvironment(actImplementation) {
87
86
}
88
89
90
-const act = withGlobalActEnvironment(isomorphicAct || domAct || actPolyfill)
+const act = withGlobalActEnvironment(domAct || actPolyfill)
91
92
let youHaveBeenWarned = false
93
let isAsyncActSupported = null
0 commit comments