-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Care app reloads upon login #6665
Comments
I want to take up this issue can u assign this to me |
Any reason this project is using raviger which barely anyone has ever heard of and has not been updated since 2022 instead of using the industry standard React Router? |
This is a bigger problem at its core with how route protection and login is being handled and just replacing For ex. when I am logged out and I navigate to |
@AshrafMd-1 What are the updates on this issue? |
@Ashesh3 , I am currently addressing a p2 issue. Once I have resolved that, I will proceed to work on and submit a pull request soon. |
@rithviknishad can you unassign me this issue as I am unable to find an optimal solution for the problem The process is to refetch the current user query when the user logins correctly My attempts to this were:
|
Describe the bug
When we login to care, the app reloads (as
window.location.href=...
is done instead ofnvaigate(...)
. This causes to load the app again / fetchindex.html
,index.js
, and other files all again.It'd be much faster if we could avoid this from being reloaded.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should not reload the entire app upon valid login.
The text was updated successfully, but these errors were encountered: