React-Router-Dom Custom Components

Hi ,
I tried using React-Router-Dom but it gives an error,what else can I use for navigating through pages.

1 Like

hi @TanishqxSharma, how are you?

try working with Link of vtex.render-runtime

Example:

 import { Link } from 'vtex.render-runtime'

const ...

Link {...{
      page: 'store.**YOUR-CONTEXT**'
}}>

...
1 Like