skip to content

Screen Navigation

React Navigation 7 structures screens with stack, tab and drawer navigators, typed params, focus events and a linking config. Interviewers probe it because navigation structure is costly to change.

part ofReact Nativeoverview, primer and where to startread it →
on this pageshow

explore

questions

page 2 of 2

In an audiobook app using React Navigation 7 bottom tabs, how do lazy, freezeOnBlur, popToTopOnBlur and detachInactiveScreens change how inactive tabs behave?

level: seniorimportance: nice to knowfreq 22%

basics

~20 s

lazy (default true) renders a tab on first visit; freezeOnBlur (default false) stops unfocused tabs from re-rendering; popToTopOnBlur (default false) resets a tab's nested stack when leaving it; detachInactiveScreens detaches inactive tabs' native views to save memory.

open as a page

showing 31–31 of 31