Skip to content

[P2] Full-page reload in breadcrumbs breaks SPA navigation #9

@cursor

Description

@cursor

Summary

The project detail breadcrumb uses MUI's Link with an href, causing a hard navigation back to /ecosystem and wiping SPA state/history.

Impact

  • Poor user experience with full page reloads
  • Loss of scroll position and SPA state
  • Inconsistent navigation behavior

Files Affected

  • src/pages/ProjectPage.tsx (lines 37-49)

Recommendation

Swap to react-router-dom's Link/RouterLink with to="/ecosystem" to keep client-side routing smooth.

import { Link as RouterLink } from 'react-router-dom';

<Link component={RouterLink} to="/ecosystem">
  Ecosystem
</Link>

Source: Code Review (PR #5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    copilot-assignedAssigned to GitHub Copilot Coding Agent

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions