dogriffiths/ReactCookbook-source

chapter 3 form does not work with the latest react version (18.1.0)

uguryiilmz opened this issue · 1 comments

Hello, i was playing around with some of the examples in my local react app that i created with cra. I noticed chapter03-form doesn't work with the latest react version which was (18.1.0).

useEffects gets triggered infinitive amount of times and causes app to fail. Do you know why that might be happening? Thank you.

When i downgraded it to your react version(17..), it magically started working again. I'm not aware of any fundamental/core changes with the react version, but not sure if there were any changes that could impact this.

Thanks for letting me know! I will see what the specific issue is, and see if I can create a parallel branch to allow for React 18 versions of the recipes.