sPavl0v / react-spa-prenderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

handling dynamic routes

nsikakowo opened this issue · comments

in the rsp.json file how is dynamic routes handled example /product/${id}

That is routes using useParams in react

Hi @nsikakowo, this library supposed to work with static number of pages. For dynamic cases please consider SSR: a good example of implementation is Next.js or Gatsby.js