#Which flavour of React Router do I need for a client-side only app?

1 messages · Page 1 of 1 (latest)

hallow surge
#

I installed the default template in the framework mode but then read it's for server-side rendering.
Does it mean that I can't use it for a client-side only app that doesn't want any backend?
I also want to convert it later to a mobile app (f.e. with Capacitor).
Or should I use RR data mode? Or declarative?

#

A full-featured production-ready template with server-side rendering,

source

#

I think this made it a little confusing

#

"with SSR" doesn't probably mean it can't do CSR

hallow surge
#

Is there a reason for using react router framework for SPA?

stoic nacelle
#

You can use RR data or declarative mode. You can also just turn ssr: false and still use framework mode. This doc explains how it works and the advantages