How to get vector on front-end from invoke()
?
#10447
Replies: 0 comments
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.
-
Let's say I have simple struct on back-end(Tauri):
Assuming that tauri command returns vector of
LinkedPath
s andinvoke()
returnsJsValue
.Can I receive on front-end(Leptos) vector of
LinkedPath
s?If no, how can I convert it to
<vec<LinkedPath>>
?Maybe there is some other way to get "array" of items?
For example returning something else from tauri command.
Front-end code:
Beta Was this translation helpful? Give feedback.
All reactions