satya164
complete
Bottom tabs support it with
unmountOnBlur
option in React Navigation 5Brent Vatne
you can do this by listening to navigation events. also, we automatically use removeClippedSubviews to save resources. we don't have any plans to automatically unmount tabs entirely, this feels like a userspace concern
Frederic Barthelemy
Brent Vatne: isn’t this like a mirror for the lazy property? I want to return tabs to the lazy state, for performance reasons.
I’m happy to do this in userspace, but it’s not obvious how, if you have a recipe for it somewhere in the docs, I’d be satisfied!
Brent Vatne
Frederic Barthelemy: yeah i suppose it is. actually i suppose this might not be such a bad idea to integrate as it is pretty low-cost to maintain. not sure what to call the property but if you submit a PR to implement it i'd be happy to review
Harshul Sharma
This would be lovely it could deliver more control and performance.