How does react native intercept global navigation

the demand is like this, the user clicks my order, my fans, my message, if the user is not logged in, go to the landing page, otherwise you can go directly to the corresponding page. The current practice is to make a judgment on whether the user is logged in or not when navigator is doing push. I feel a little troublesome. Is there any good way? How does everyone do it?

Feb.28,2021

I also want to know, hey, have you solved it

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb1859-2357.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb1859-2357.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?