Context and viewTransitions issue

Strange behavior of context with <MinisRouter viewTransitions>. On a real device, when using viewTransitions, some pages that rely on context are rendered outside of that context, which leads to errors in the application. When using MinisRouter without viewTransitions, this issue does not occur.

Device: Pixel 7 Pro, Android 16
@shopify/shop-minis-react”: “0.4.18”
@shopify/shop-minis-cli”: “0.1.4”

Hi @Iurii_Teslenko , we failed to reproduce this issue on our side. Can you please share an example repo reproducing this bug?

Minis Router uses react-router under the hood which doesn’t have any known issues around React context, but we are happy to investigate if you can share more details.

Thanks!