Skip to content

Switching sidebar tabs delays by 2s #7

Description

@Anas-github-acc

Issue

  • When the user switches tabs, it takes at least 2s for the page to render.

Recommended Change

  • Instead of navigating to a separate page for each tab, use a dynamic route parameter [slug] in Next.js and update only the content that changes between tabs. This allows shared layout components to remain mounted and unaffected, reducing unnecessary re-renders and improving tab-switching performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions