-
Notifications
You must be signed in to change notification settings - Fork 184
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
refactor(useOrientationChange): rm useGlobalEventListener; make SSR ready #7811
refactor(useOrientationChange): rm useGlobalEventListener; make SSR ready #7811
Conversation
…eady - SSR: инициализируем как `'portrait'`, а в эффекте меняем значение на актуальное - useGlobalEventListener: избавляемся, чтобы облегчить хук от лишних операций - покрываем тестами - реэкспоритурем тип `Orientation`
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
e2e tests
|
👀 Docs deployed
Commit 7da0c44 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7811 +/- ##
==========================================
+ Coverage 95.08% 95.09% +0.01%
==========================================
Files 376 376
Lines 11074 11079 +5
Branches 3677 3676 -1
==========================================
+ Hits 10530 10536 +6
+ Misses 544 543 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Note
Это флакнуло два скриншота на |
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.
👍
✅ v7.0.0-beta.1 🎉 |
✅ v7.0.0 🎉 |
Описание
'portrait'
, а в эффекте меняем значение на актуальноеOrientation
Release notes
Улучшения
Orientation
.