LI.FI Widget is fully compatible with React Router v6
and uses it internally for page navigation.
Check our documentation on https://docs.li.fi/integrate-li.fi-widget/react-router-compatibility
To see an example you can check our widget repository: https://github.com/lifinance/widget/blob/main/packages/widget-playground/src/index.tsx