Skip to content
Discussion options

You must be logged in to vote

Cloning is the perfectly valid way to pass props down. You want want to make sure the Units type is reference counted so it the data itself isn't cloned every time. The same recommendations about props apply here as well: AttrValue instead of String, etc

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Android789515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants