FROM CACHE - en_header

Routing in embedded app UI

New Member
1 0 0

I was trying to build an embedded app using shopify CLI.

it created an app and it's working fine and by default it renders index.js file pages/ folder.

i created one file screen1.js inside pages/ folder. and added a button in index.js

now i want to render the screen1.js on clicking the button in index.js
i tried  > <RoutePropagator />

it's giving me import issue on BrowserRouter , as it's not exported from "react-router"

also tried 

same issue i'm facing.

is there anything i'm missing or there is any another way?

Reply 1 (1)
4 0 1

Did you figure anything out?