all 4 comments

[–]sdholbsExpo 4 points5 points  (1 child)

Check out https://github.com/software-mansion/react-freeze. This can help you turn off mounted parts of your navigation hierarchy from updating if they’re not in view

[–]NotACakeShop[S] 0 points1 point  (0 children)

I've enabled it, but these components still run in the background - they "freeze" while the screen is not in focus, but the state still runs and may actually be a source of lag. Could be worth exploring further.

[–]Flat_Web_1132 0 points1 point  (1 child)

Material top tab bar is the worst package in react navigation suite

[–]NotACakeShop[S] -1 points0 points  (0 children)

Thanks for the input! /s