shirakaba / react-nativescript

React renderer for NativeScript
https://react-nativescript.netlify.com
MIT License
280 stars 14 forks source link

Optimise inactive TabViewItem views #10

Closed shirakaba closed 5 years ago

shirakaba commented 5 years ago

Currently they will continue to trigger renders even when they are not the active TabViewItem. This is easily seen when using the Clock or GameLoopTest components.

shirakaba commented 5 years ago

I've reconsidered this. I think that if the dev wants "lazy-loaded" TabViews, it should be their responsibility to set that up!