I had this warning when using jest + RTL
console.error
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
16 | export default ({ attendant, onRefresh }: Props) => {
17 | const confirmDelete = async () => {
> 18 | const isConfirmed = await confirm({
It's just a warning, but how to get rid of it ?
I had this warning when using jest + RTL
It's just a warning, but how to get rid of it ?