Beta
System
Guides
CLI
Routing
Layout
Components
Hooks
Etc
Redirect to another page when this page is focused.
This component uses useFocusEffect to only run when the route it's rendered inside of is active. Once active, it will redirect immediately to a new route.
useFocusEffect
Terminalinterface RedirectProps { href: string }
Terminal
interface RedirectProps { href: string }
Next
LoadProgressBar
Edit this page on GitHub.