Yew: Passing vector of struct from parent to child component

Hi fellow yew users,

Have anyone had any luck trying to pass a vector of struct a from parent to child component. I have hit many compile and runtime issues trying to do this. Is it even possible? I observed from the examples, it seems this have not been done before. The examples pass literal values.

I don't have experience with it yet, but I think anything that implements Copy should work. For other things: maybe you can try using references in the child components instead?

Thanks for the suggestion I will experiment with that. I tried to clone the collection and then pass it on via properties and that didn’t work

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.