It seems like when i dynamically set tabs according to an api call, when certain tabs get dynamically removed, the associated screens don't unmount correctly, and i get a bunch of blank screens that i can swipe through. It's almost as if Tabs.Container stores some internal memory of what tabs it contains and doesn't refresh. If i force a remount via key change on the Tabs.Container component everything works, but I'd like to avoid that since it causes a flicker and doesn't let me do animations. Is there a way to set tabs dynamically, or even force a remount of the tabs without remounting the header and TabBar? Some guidance on this would be much appreciated!
It seems like when i dynamically set tabs according to an api call, when certain tabs get dynamically removed, the associated screens don't unmount correctly, and i get a bunch of blank screens that i can swipe through. It's almost as if
Tabs.Container
stores some internal memory of what tabs it contains and doesn't refresh. If i force a remount via key change on theTabs.Container
component everything works, but I'd like to avoid that since it causes a flicker and doesn't let me do animations. Is there a way to set tabs dynamically, or even force a remount of the tabs without remounting the header and TabBar? Some guidance on this would be much appreciated!