You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the prerender function in react router config only provides a getStaticPaths method to obtain the urls without dynamic segment.
It would be interesting if it provided the complete list of routes including additional data (such as the handle). This way it would be more practical to implement additional static generation patterns through route information. For example, I could create a route with
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently the
prerender
function in react router config only provides agetStaticPaths
method to obtain the urls without dynamic segment.It would be interesting if it provided the complete list of routes including additional data (such as the
handle
). This way it would be more practical to implement additional static generation patterns through route information. For example, I could create a route withor
and access it inside the
prerender
function.Beta Was this translation helpful? Give feedback.
All reactions