Skip to content

Commit

Permalink
remove unstable prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Oct 19, 2021
1 parent 512c0a0 commit 5e64fe3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default function JSXStyle(props) {
return null
}

const useDOMEffects =
React.unstable_useInsertionEffect || React.useLayoutEffect
const useDOMEffects = React.useInsertionEffect || React.useLayoutEffect
useDOMEffects(() => {
registry.add(props)
return () => {
Expand Down

0 comments on commit 5e64fe3

Please sign in to comment.