web-ridge / react-native-paper-tabs

Smooth and fast cross platform Material Design Tabs for React Native Paper
https://reactnativepapertabs.com
MIT License
189 stars 34 forks source link

Support for lazy loading #58

Closed lelimit closed 7 months ago

lelimit commented 10 months ago

Is it possible to only the render the active tab?

RichardLindhout commented 10 months ago

We could do something like this: https://github.com/callstack/react-native-pager-view/issues/673#issuecomment-1647351189 But you always have to render the previous, current and next page (if swipe is enabled)

RichardLindhout commented 10 months ago

PR is welcome, (we won't code it ourselves because this feature is not a priority for us in our own projects right now)