Bug: Internal links use <a href> instead of React Router <Link>, causing full page reloads #52
Labels
No Label
P0 Critical
P1 High
P2 Medium
P3 Low
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
performance
phase-7
phase-8
security
seo
ui
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#52
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Multiple pages and components use plain
<a href="/path">for internal navigation instead of React Router's<Link to="/path">. This causes full page reloads (hard navigation) instead of SPA client-side navigation, defeating the purpose of a single-page app.Affected Links
Pages
Contact.jsx:127— "Request Consultation" button links to/contact(itself!)IndustryDetail.jsx:16— "Back to Industries" link uses<a href="/industries">IndustryDetail.jsx:95— "Request This Service" link uses<a href="/contact">IndustryDetail.jsx:100— "Back to Industries" link uses<a href="/industries">Services.jsx:54— "Learn More" links use<a href={/services/${service.id}}>Support.jsx:130— "Request Consultation" button links to/contactServiceDetail.jsx:16— "Back to Services" link uses<a href="/services">ServiceDetail.jsx:111— "Request This Service" link uses<a href="/contact">ServiceDetail.jsx:116— "Back to Services" link uses<a href="/services">Industries.jsx:54— "Explore" links use<a href={/industries/${industry.id}}>Footer.jsx
<a href>Additional Bug
Contact.jsx has a "Request Consultation" button that links to
/contact— which is the page the user is already on. This is a dead link.Fix
Linkfromreact-router-domin all affected files<a href="/path">with<Link to="/path">for all internal routes<a href>only for external links (email, phone, Zoho support center)/contactlink on the Contact page