Explain features necessary for the pre_cache_static_routes function. (#1401)

This commit is contained in:
Luca authored and GitHub committed 2023-08-25 14:00:38 -05:00
1 parent 31f8bab20d
commit 37eb929d69
1 file changed
+2
@@ -30,6 +30,8 @@ async fn main() {
.join("\n")
);
// This function is available if you enable the ssr feature
// on the dioxus_router crate.
pre_cache_static_routes::<Route, _>(
&mut renderer,
&DefaultRenderer {