department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
37 stars 57 forks source link

va-link React router support #3096

Open acrollet opened 1 month ago

acrollet commented 1 month ago

Bug Report

What happened

Using a va-link component, I do not see a way to trigger a react routing event. This means that navigation within a given app causes a full page reload, slowing the user down and possibly causing them to lose context.

What I expected to happen

I want to be able to give users a way to navigate within apps without reloading the app.

related: #2188

Reproducing

Steps to reproduce:

  1. Use the <va-link> component with a link to another page within the same app
  2. Observe that the app refreshes instead of immediately going to the linked page

Urgency

How urgent is this request? Please select the appropriate option below and/or provide details

Details

Related slack thread: https://dsva.slack.com/archives/C01DBGX4P45/p1696269084745499

caw310 commented 1 month ago

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @powellkerry @rmessina1010 @rsmithadhoc