Hey guys, I'm currently implementing basic auth on...
# prisma-whats-new
k
Hey guys, I'm currently implementing basic auth on my React/Graphcool app. I'm using JWT tokens to authorise calls to Graphcool, but what's the right approach to managing the login state on the client side when using React Router? Should I just keep the
isLogged
state on the top-most React component? Should I re-verify the user state on each page view? I'm bit lost and unsure how to scope and phrase the question correctly. (PS. I'd like to avoid Redux) 🤥