Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix:Replace <a> tags with <Link> components for proper client-side routing #204

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saurav-n
Copy link

This PR replaces all tags with components from React Router DOM to ensure efficient client-side navigation. Using tags caused full-page reloads, breaking the seamless user experience expected in a React SPA. By switching to , navigation now happens without unnecessary page refreshes, improving performance and maintaining state.

Changes:
/eduaid_web/src/pages/*.jsx

Testing:
-Manually tested all paths
-Verified no unintended navigation occurs

@saurav-n
Copy link
Author

Looking Forward for the previews and feedback

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant