How to Create a 404 screen
Use at the end:
<Render.screen
title='Not Found'
hasFooter = { true}
hasNavbar = { true}
path = '*'
screen = { NotFound }
/>
How to redirect to other
export default function NotFound(props: ScreenProps) {
const router = useRouter();
const navigation = useNavigation()
useEffect(() => {
navigation.setLoadingComponent(true)
router.push('/home')
navigation.setLoadingComponent(false)
return () => {
}
}, [])
return (
<View>
</View>
)
}