department-of-veterans-affairs / va-forms-system-core

VA Forms System Core will be a React library hosted in NPM that will allow engineers and designers to easily interact with Forms inside of vets-website.
https://department-of-veterans-affairs.github.io/va-forms-system-core/
6 stars 4 forks source link

[Routing] Chapter Component #599

Open micahchiang opened 2 years ago

micahchiang commented 2 years ago

Description

VAFSC has a chapter component that isn't currently in use. Originally it was intended to render child routes through the use of a react-router v5 Switch component, but we ran into compatibility issues when we upgraded VAFSC to react router v6.

The chapter component could be resurrected and exposed as an optional component engineers can use to semantically group pages together. This would impact how information is presented on the review page.

Considerations

Tasks

Acceptance Criteria