Skip to content
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

Fix Sidebar Navigation Reload & Refactor Routes for SPA Optimization #64

Open
Zysd836 opened this issue Dec 4, 2024 · 0 comments
Open
Assignees

Comments

@Zysd836
Copy link
Contributor

Zysd836 commented Dec 4, 2024

Issue Description

Currently, the website experiences a reload and flicker when clicking on items in the sidebar, making it no longer function as a Single Page Application (SPA). This issue occurs because a click action is added to the Link component, which triggers a page reload.

image

Proposed Solution

  1. Restructure Routes: Reorganize and optimize the routing structure for cleaner and more maintainable code.
  2. Refactor Sidebar Component: Refactor the sidebar component to ensure smooth navigation without page reloads, making sure it follows best practices for SPA.
  3. Fix Click Event: Ensure that custom click events do not interfere with the navigation and that the app behaves as expected (no reloads or flickering).

Additional Notes

This issue can be resolved immediately, but refactoring the routes and sidebar will improve the long-term maintainability and scalability of the application.

Please assign this issue to me. I will provide the solution soon.

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

No branches or pull requests

1 participant