Replies: 1 comment
-
You can use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The code below users a server function in dioxus 0.5.6.
I want to get the
Vec<Model>
and iterate through it.Currently the
use_server_future
appears to returnReadOnlySignal<Option<Result<Vec<Model>, ServerFnError>>>
.How do I get into that and get my models?
Also, if I add a parameter to the get_models i.e. get_models(id: i32) what would be the syntax to call the method?
The pattern I want to follow is to load data from the server on each page load and fully populate the page.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions