allow passing props to the rendered component

This commit is contained in:
Evan Almloff committed 2023-03-30 19:42:46 -05:00
1 parent 39a5fbf268
commit f618da7311
6 files changed
+19 -10

No files matched your search

+3 -3
View File
@@ -13,12 +13,12 @@ server_macro = { path = "server-macro" }
warp = { version = "0.3.3", optional = true }
# axum
axum = { version = "0.6.1", optional = true, features = ["ws"] }
axum = { version = "0.6.1", optional = true }
tower-http = { version = "0.4.0", optional = true, features = ["fs"] }
hyper = { version = "0.14.25", optional = true }
# salvo
salvo = { version = "0.37.7", optional = true, features = ["ws"] }
salvo = { version = "0.37.7", optional = true, features = ["serve-static"] }
serde = "1.0.159"
dioxus-core = { path = "../core", version = "^0.3.0" }
@@ -33,5 +33,5 @@ tokio = { version = "1.27.0", features = ["full"], optional = true }
default = []
warp = ["dep:warp"]
axum = ["dep:axum", "tower-http", "hyper"]
salvo = ["dep:salvo"]
salvo = ["dep:salvo", "hyper"]
ssr = ["server_fn/ssr", "tokio", "dioxus-ssr"]