Seeking advice for my app that utilizes firebase authentication. I'm curious about the correct method for implementing conditional rendering based on the user's login status. If I were to use something along the lines of:
(conditionalboolean) ? render (<p>yes logged in</p>) : render (<p>not logged in</>)
I'm concerned whether sensitive data would still be downloaded to the user's browser and potentially visible through developer tools. I have been unable to find a clear answer to this dilemma. Any guidance on where to look next would be greatly appreciated.
Thank you! Matt