is #[component]
#5676
Replies: 3 comments
|
Not sure I understand the question here. Is the question why does this compile even though the types do not line up? If so try installing and running cargo expand on this code snippet. there is automatic conversion logic the component macro generates for common types like string |
0 replies
|
Oke I will try cargo expand, tanks for the answer |
0 replies
|
H |
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.
i try dioxus , but in func Display i declare img : String but the img_val from App is &&str , what happen here because my app is work compile success can some one tellme .
the problem that i dont uderstand is why &&str can put in String : hope fully some one answer
All reactions