GA-MO / react-confirm-alert

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

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

Open khokonm opened 1 year ago

khokonm commented 1 year ago

I'm on react v17, only getting this error after importing the ConfirmAlert module!

simeondev15 commented 1 year ago

Same issue here

bibinthomas123 commented 1 year ago

@khokonm upgrade to react V18

azizk-araneux commented 1 year ago

As mentioned by the owner in comment https://github.com/GA-MO/react-confirm-alert/issues/80#issuecomment-1181595330

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