-
Notifications
You must be signed in to change notification settings - Fork 63
feat/env-via-config #1955
New issue
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
base: master
Are you sure you want to change the base?
feat/env-via-config #1955
Conversation
🦋 Changeset detectedLatest commit: febcc41 The changes in this PR will be included in the next version bump. This PR includes changesets to release 78 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Pull Request Test Coverage Report for Build 19931014931Details
💛 - Coveralls |
Snapshot ReleaseSuccessfully released the following packages:
|
| export type CoreConfigContextValue = { | ||
| breakpoint: number; | ||
| client: 'desktop' | 'mobile'; | ||
| environment?: Environment; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может хоть js doc какой то добавить тут? По названию понять для чего вообще эта штука нужна не возможно. Ну и в доку бы по селекту добавить что-то типа "бла-бла, в шадоу доме используйте то-то то-то"?
| export type CoreConfigContextValue = { | ||
| breakpoint: number; | ||
| client: 'desktop' | 'mobile'; | ||
| environment?: Environment; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example
const env: Environment | undefined = (() => {
const shadowRoot = document.querySelector('')?.shadowRoot;
if (!shadowRoot) {
return undefined;
}
return {
addEventListener: shadowRoot.addEventListener.bind(shadowRoot),
removeEventListener: shadowRoot.removeEventListener.bind(shadowRoot),
document,
Node,
}
})();b5a1b16 to
febcc41
Compare
Snapshot ReleaseSuccessfully released the following packages:
|
No description provided.