palantir/blueprint

Support for lazy loading tabs

Open

#4,669 opened on Apr 22, 2021

View on GitHub
 (0 comments) (3 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P2Package: coreType: feature requesthelp wanted

Description

There is support for renderActiveTabPanelOnly but not something in between: Do not unmount any tabs, but only mount tabs after they are clicked on instead of all at initial load.

This is the default behavior in some libraries (eg. https://ant.design/components/tabs/, it can still overwrite default behavior with forceRender prop).

Contributor guide

Support for lazy loading tabs · palantir/blueprint#4669 | Good First Issue