We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
single-spa-react has defaultDomElementGetter() for creating a DOM element for an app to mount on. defaultDomElementGetter() uses the app name as the id of the element. https://github.com/CanopyTax/single-spa-react/blob/v2.10.1/src/single-spa-react.js#L160
defaultDomElementGetter()
However, this behaviour is different from other helper libraries. In other helper libraries, the id is single-spa-application:${name}.
single-spa-application:${name}
There might be some benefits in having a consistent pattern of the default DOM element id?
The text was updated successfully, but these errors were encountered:
👍 agreed, let's change single-spa-react to follow the convention in other libs. Doing so will allow https://github.com/CanopyTax/single-spa-inspector to have a default id for overlays.
PR's accepted, or myself or a core team member might be able to get to this in the next day or two.
Sorry, something went wrong.
d9f42cd
Merge pull request #52 from CanopyTax/issue-51
a6b318c
New html id for dom el to match other helper libs. Resolves #51.
Released in https://github.com/CanopyTax/single-spa-react/releases/tag/v2.10.2
No branches or pull requests
single-spa-react has
defaultDomElementGetter()
for creating a DOM element for an app to mount on.defaultDomElementGetter()
uses the app name as the id of the element. https://github.com/CanopyTax/single-spa-react/blob/v2.10.1/src/single-spa-react.js#L160However, this behaviour is different from other helper libraries. In other helper libraries, the id is
single-spa-application:${name}
.There might be some benefits in having a consistent pattern of the default DOM element id?
The text was updated successfully, but these errors were encountered: