Skip to content
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

fix(useExternRef): rm useMemo #7077

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

SevereCloud
Copy link
Contributor


Описание

Для компилятора требуется знать точные зависимости в useMemo

Изменение

Избавился от useMemo, написал отдельный класс реализующий MutableRefObject

- see #6920

---

## Описание

Для компилятора требуется знать точные зависимости в useMemo

## Изменение

Избавился от useMemo, написал отдельный класс реализующий MutableRefObject
@SevereCloud SevereCloud requested a review from a team as a code owner June 25, 2024 16:20
@github-actions github-actions bot added the patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча label Jun 25, 2024
Copy link
Contributor

size-limit report 📦

Path Size
JS 365.28 KB (+0.24% 🔺)
JS (gzip) 111.88 KB (+0.28% 🔺)
JS (brotli) 92.09 KB (+0.26% 🔺)
JS import Div (tree shaking) 1.42 KB (0%)
CSS 285.27 KB (0%)
CSS (gzip) 36.99 KB (0%)
CSS (brotli) 29.91 KB (0%)

Copy link

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.

@SevereCloud SevereCloud removed patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча labels Jun 25, 2024
@SevereCloud SevereCloud modified the milestone: v6.2.0 Jun 25, 2024
Copy link
Contributor

e2e tests

Playwright Report

Copy link
Contributor

👀 Docs deployed

Commit eef90a5

@SevereCloud SevereCloud self-assigned this Jun 25, 2024
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.59%. Comparing base (4f043bd) to head (eef90a5).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7077      +/-   ##
==========================================
+ Coverage   83.57%   83.59%   +0.02%     
==========================================
  Files         352      352              
  Lines       10551    10564      +13     
  Branches     3489     3493       +4     
==========================================
+ Hits         8818     8831      +13     
  Misses       1733     1733              
Flag Coverage Δ
unittests 83.59% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SevereCloud SevereCloud modified the milestones: v6.2.0, v6.3.0 Jun 26, 2024
Copy link
Contributor

@mendrew mendrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@vkcom-publisher vkcom-publisher added pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности and removed pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности labels Jul 4, 2024
@SevereCloud SevereCloud merged commit 364d3cf into master Jul 9, 2024
26 checks passed
@SevereCloud SevereCloud deleted the SevereCloud/fix/useExternRef/rm-useMemo branch July 9, 2024 10:34
SevereCloud added a commit that referenced this pull request Jul 9, 2024
> Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().

React проверяет наличие свойства current у объектов через hasOwnProperty и генерирует ошибки

Исправляем реализацией hasOwnProperty

- cause #7077
SevereCloud added a commit that referenced this pull request Jul 9, 2024
> Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().

React проверяет наличие свойства current у объектов через hasOwnProperty и генерирует ошибки

Исправляем реализацией hasOwnProperty

- cause #7077
SevereCloud added a commit that referenced this pull request Jul 10, 2024
> Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().

React проверяет наличие свойства current у объектов через hasOwnProperty и генерирует ошибки

Исправляем реализацией hasOwnProperty

- cause #7077
@vkcom-publisher
Copy link
Contributor

v6.3.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants