sPavl0v / react-spa-prenderer

MIT License
34 stars 17 forks source link

handling dynamic routes #19

Closed nsikakowo closed 1 year ago

nsikakowo commented 2 years ago

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

That is routes using useParams in react

sPavl0v commented 1 year ago

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