acgblogs

Results 8 comments of acgblogs

i want to set highlight by my code

> May you provide more details please? i saw the open code react-popper hooks usePopper peerDependencies support react 16.8.0,

"peerDependencies": { "@popperjs/core": "^2.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" },

but it didn't work on browser, my react-dom version is 16.8 same as react

error is ReactDOM.flushSync is not a function

![image](https://user-images.githubusercontent.com/79389581/168573273-10e50093-8726-4de5-a837-44af58f49212.png)

> what is the value of `console.log(ReactDOM)`? ![image](https://user-images.githubusercontent.com/79389581/168581985-831fe752-f84f-4b55-99a4-a2306230cd37.png) the problem is resolved. use the version 2.2.5 can run successful.it seems that the ReactDOM. flushSync hooks acting on React version 18.x。...