Skip to content

Eliminate observable layout refresh? #4791

Closed Answered by willmcgugan
Yurii-huang asked this question in Q&A
Discussion options

You must be logged in to vote

You might want to read the docs on compound widgets again.

There's rarely a need to mount widgets in your mount handler. It is better to add all your child widgets in compose.

I also wouldn't advice calling compose_add_child as it wasn't intended to be used like that.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Yurii-huang
Comment options

Answer selected by willmcgugan
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