Skip to content

Adapt StepIndicator script to custom element#6180

Merged
aduth merged 3 commits intomainfrom
aduth-step-indicator
Apr 12, 2022
Merged

Adapt StepIndicator script to custom element#6180
aduth merged 3 commits intomainfrom
aduth-step-indicator

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 11, 2022

Why: So it's more easily implemented in the context of a React component, with the expectation it will be used in ongoing work for the IdV API epic.

The current implementation of StepIndicator is "plain JavaScript", but written in a form which predates the use of custom elements. The previous implementation largely assumed the element would be rendered on a static page that is not long-lived, thus did not implement "tear down" behaviors common to custom elements and React usage.

aduth added 3 commits April 11, 2022 10:25
**Why**: So it's more easily implemented in the context of a React component
[skip changelog]
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit 6ca7d7e into main Apr 12, 2022
@aduth aduth deleted the aduth-step-indicator branch April 12, 2022 12:37
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.

2 participants