How to properly manage redirection in React using React Router and React Query
The React SPA I am working on is using React Query, Ory (as auth provider) and React Router. A typical pattern I need to implement is the following:
The React SPA I am working on is using React Query, Ory (as auth provider) and React Router. A typical pattern I need to implement is the following: