isBatchingLegacy error thrown when adding app block

I’m trying to make Checkout UI Extensions work together with my existing app. I had issues just trying to generate / deploy it but I managed to make that work in here.

Now, I see my app in Checkout and Thank You pages but when I try and add it, I am getting the following error: Cannot read properties of undefined (reading 'isBatchingLegacy').

This is one of the original errors I had when generating the extension that was resolved by adding --legacy-peer-deps in the generate command. Now it returned when adding the app block.

This was fixed when I upgraded my react and react-dom versions from 17.0.1 to 18.3.1.

1 Like