feat: build out api request to run on load properly

This also has the option of refreshing, since it's made with a Resource struct.
This commit is contained in:
alphafetus committed 2025-05-23 17:14:05 -04:00
1 parent 40f12180e5
commit e0b44c639c
2 files changed
+27 -17

No files matched your search

+4 -2
View File
@@ -15,8 +15,8 @@ leptos_axum = { version = "0.7.0", optional = true }
leptos_meta = { version = "0.7.0" }
tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
wasm-bindgen = { version = "=0.2.100", optional = true }
aws-sdk-dynamodb = "1.74.0"
aws-config = "1.6.2"
aws-sdk-dynamodb = { version = "1.74.0", optional = true }
aws-config = { version = "1.6.2", optional = true }
serde = "1.0.219"
[features]
@@ -29,6 +29,8 @@ ssr = [
"dep:axum",
"dep:tokio",
"dep:leptos_axum",
"dep:aws-sdk-dynamodb",
"dep:aws-config",
"leptos/ssr",
"leptos_meta/ssr",
"leptos_router/ssr",