I have an app that uses firebase authentication. My question is, what is the proper way to do conditional rendering based on whether the user is logged in or not? If I use something like:
(conditionalboolean) ? render (<p>yes logged in</p>) : render (<p>not logged in</>)
would the data I want to protect still be downloaded to their browser and visible on developer tools somehow? I am not finding an answer to this question. Can someone please point me in the right direction?
thanks! Matt