No ssr on certain routes.
fedirsmilianets opened this issue · 1 comments
fedirsmilianets commented
Hi!
Some of routes in my application are dynamic and different for each user. How do I protect these routes from being server-side rendered?
clbond commented
@ffluffyhedgehog Just specify server: false
in the route configuration itself. Any route subtree which you do not want to be server-side rendered. Alternatively, you can use --blacklist=true
to exclude all routes from ssr by default, and then server: true
in the route configuration to note that you do wish to render that route. Only route trees with server: true
will be rendered if you use --blacklist
.