-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ref(core): MediaQueryList module improvements #10947
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: main
Are you sure you want to change the base?
Conversation
|
View your CI Pipeline Execution ↗ for commit 2f28a28
☁️ Nx Cloud last updated this comment at |
f22367b to
2b827f6
Compare
| @@ -0,0 +1,23 @@ | |||
| export const ApplicationEventNames = Object.freeze({ | |||
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.
@NathanWalker I forgot to mention this but I put application event names into their own separate module and Application instance accesses them using getters.
At the same time, Application implements the type of the ApplicationEventNames to ensure that no getter is accidentally missed.
If this change looks ugly, we can definitely revert it.
PR Checklist
What is the current behavior?
MediaQueryList implementation was a bit poorly written due to the media queries implementation being too large of a change.
What is the new behavior?
This PR gives some attention to
MediaQueryList.