GA-MO / react-confirm-alert

react component confirm dialog.
https://ga-mo.github.io/react-confirm-alert/demo/
MIT License
273 stars 105 forks source link

Module not found: Can't resolve 'react-dom/client #80

Closed viveleroi closed 2 years ago

viveleroi commented 2 years ago

Installed this module in a NextJS 12/React v17 project and am getting the following error:

./node_modules/react-confirm-alert/lib/index.js:24:0
Module not found: Can't resolve 'react-dom/client'

Is v3 only for React 18? I can't find documentation or proper changelogs.

NastyaSid commented 2 years ago

The same for me...

GA-MO commented 2 years ago

Document updated. For react <= 17.x.x use version 2.x.x