HUITab.Panel rendering all tab contents immediately - how to render only when Tab/Panel becomes active? #1722
Unanswered
trainoasis
asked this question in
Help
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.
-
I've noticed in our React app that all our hooks from all tab Panels are immediately triggered. Is it possible to avoid that and only trigger rendering / hooks when the Tab becomes active? Did I miss this setting somewhere? Or is this something we should handle ourselves somehow?
unmount
doesn't change a thing unfortunately if that's what is relevant.How we render Panels:
Beta Was this translation helpful? Give feedback.
All reactions