Skip to content

chore: use router links for internal navigation - #305

Open
Tomahawk2191 wants to merge 2 commits into
refactor/route-loadersfrom
chore/routing-cleanup
Open

Tomahawk2191 wants to merge 2 commits into
refactor/route-loadersfrom
chore/routing-cleanup

Conversation

@Tomahawk2191

@Tomahawk2191 Tomahawk2191 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

What was the ticket?

N/A

What did I do?

Part 5 of 5. Stack: #301 → #302 → #303 → #304 → #305. Review and merge in order.

Routes internal navigation through React Router instead of full page loads.

  • NavBar, both footers and their FooterLinks, the landing nav, TeamCard, TeamPageFooter and Position use <Link> / useLocation instead of <a href> and window.location.
  • FeaturedProjects uses useNavigate.
  • External links are unchanged.

How did I test it?

Ran bun run lint, bun run typecheck, oxfmt --check and bun run build on this branch; all pass. e2e and manual browser testing still to do.

Required checks:

  • Did you conduct a self-review?
  • Have you written unit or integration tests?

What could go wrong in the future? What parts of your code should the reviewer pay the most attention to?

Client-side navigation keeps the query cache between pages, so pages that previously refetched on every visit now reuse cached data.

Additional Comments for the Reviewers

Screenshots

N/A, no visual changes intended.

@Tomahawk2191
Tomahawk2191 added this pull request to stack #306 November 14, 2026 19:23
@netlify

netlify Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for generatenu-website ready!

Name Link
🔨 Latest commit 600e48e
🔍 Latest deploy log https://app.netlify.com/projects/generatenu-website/deploys/6af8c8cc6fd2ce21cb88b85a
😎 Deploy Preview https://deploy-preview-305--generatenu-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@Tomahawk2191
Tomahawk2191 marked this pull request as ready for review November 14, 2026 20:29
@Tomahawk2191
Tomahawk2191 requested a review from a team as a code owner November 14, 2026 20:29
@Tomahawk2191 Tomahawk2191 changed the title chore: use router for internal navigation and add React Query devtools (dev only) chore: use router links for internal navigation Nov 14, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant