Closed AnomalyAces closed 10 months ago
Hey @AnomalyAces I just gave this a shot with create-contentful-app@latest and it appears to be resolved. The forma deps reached full react 18 compatibility as of https://github.com/contentful/forma-36/pull/2315. Thanks very much for reporting this and please feel free to reopen if you are still having any trouble.
So i noticed these errors when trying to install react hook form. It seems that the version of constate that is pulled in expects react 17 but the contentful-create-app script uses react 18. I resolved the issue by manually installing constate 3.3.2 but, I think all the dependencies of the forma components needs to be updated to target react 18 instead of 17.
If i did not update that version of constate manually i get the error from the second set of bash output below