Is Ionic v8 compatible with react-router v6

Ive upgraded react-router and react-router-dom to v6 and i get compile errors from @ionic/react-router.

ERROR in ./node_modules/@ionic/react-router/dist/index.js 2:0-66
Module not found: Error: Can't resolve 'history' in '/node_modules/@ionic/react-router/dist'
ERROR in ./node_modules/@ionic/react-router/dist/index.js 890:18-28 export 'withRouter' (imported as 'withRouter') was not found in 'react-router-dom' (possible exports: )

If it is indeed the case that ionic is incompatible with react-router v6 why isnt it alteast mentioned somewhere in the docs.
Any ionic dev to weigh in.

No, it is not compatible. There is an open feature request on GitHub, but since it has been open since 2021 and only minimal prototyping has been done, don’t expect support anytime soon.

It’s not mentioned in the docs but it would probably be good for Ionic to make the dependency on version 5 explicit so that you can’t upgrade the package without a compatibility warning.