#Basic example: did I miss a step?

1 messages · Page 1 of 1 (latest)

ashen prawn
#

Using the StaticRouter, links only work with javascript turned off.

After hydration, clicking on links does nothing.

<Link reloadDocument> makes it work, but by depending on the default browser behavior.

Do I need to use another router to make client-side navigation work?

#

turns out I did need to use another router

#

one for server rendering and another for the browser

wheat kraken
#

Any specific reason you're not interested in using Remix for SSR (or RouterProvider/StaticRouterProvider in RR to get the Data APIs)?

ashen prawn
#

i did come across that page, but it seemed to delve into much more than the problem at hand

#

i might still look into routerprovider and staticrouterprovider more, as i understand they are lower-level APIs that allow optimizations and UX