Ionic 5 to 6 upgrade issues [React]

I am seeing a black screen after upgrading "@ionic/react" and "@ionic/react-router" packages to version 6.

@ionic/react@5.9.3 version works fine.

There are no errors in console or in terminal.

Does anyone knows what is wrong here?





Thanks in advance.