Add "lazy" option to Tab content to improve initial render performance #1322
MathiasWP
started this conversation in
Feature Requests / Ideas
Replies: 1 comment
-
Would love to see this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
When using the Tabs component, the content of a tab that has not been selected will still be mounted. This can cause great performance impact on initial render. There should be a way to set the mounting of the tabs content to "lazy".
Current workaround
Currently we do this to achieve the desired behaviour, but it would be great to have first class support for this in bits-ui <3
Beta Was this translation helpful? Give feedback.
All reactions