Skip to content

Replace 'react-router-dom' with 'next/link' routing #20

Closed

Description

@Alessandro100

NextJs Router and the react-router-dom are competing which causes navigation bug.

Do NOT touch
src/app/App.tsx as this is the sync - entry point for nextjs / legacy router
src/app/router/Router.tsx
src/app/router/ProtectedRoute.tsx

All other pages should have their react-router-dom navigation functions useNavigate, useSearchParams, useLocation etc replaced for the next/link equivalent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions