-
Notifications
You must be signed in to change notification settings - Fork 186
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
feat(usePatchChildren): add reexport #7812
feat(usePatchChildren): add reexport #7812
Conversation
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 8baaeac |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7812 +/- ##
==========================================
+ Coverage 95.12% 95.14% +0.01%
==========================================
Files 376 376
Lines 11086 11087 +1
Branches 3682 3682
==========================================
+ Hits 10546 10549 +3
+ Misses 540 538 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
- удалил `useEffectDev` в пользу ошибки от **React**, если у кастомного компонента нет getRootRef; - добавил тестов для покрытия 100%
f6c314b
to
8baaeac
Compare
✅ v7.0.0-beta.1 🎉 |
Описание
Добавил тестов для покрытия
100%
.Release notes
Улучшения
usePatchChildren()
– хук позволяет пропатчить переданный компонент так, чтобы можно было получить ссылку на его DOM-элемент. Также есть возможность прокинуть в компонент дополнительные параметры.