Skip to main content

2 docs tagged with "Use Auth"

View All Tags

<RequireAuth>

<RequireAuth> is defined as: custom FC Wrapper to Declarative control Protected Route via useAuth() & <Navigate> from react-router-dom. Topics on: . Read more:

useAuth()

useAuth() is defined as: async Custom Hook to get Auth state from Backend/Online API. Topics on: Example FC. Read more: React, React API, Hooks API, Custom Hook