hundreds-psychiatrist-38730
09/22/2024, 6:35 PMrefresh=true
?
Right now, I only using useState<>
for my login information, everything i e.g. do a change and hit cmd+r (mac) to reload my page, then i'm "logged out" even though the session cookie is still set and alive 🙂
I am not using the useEffect()
that runs all the time as middleware, i've been told by many frontend devs now that useEffect()
isn't good to use.
All my user data, is also in state
so that is ofc also "lost" when reloading 🙂