Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 23, 2024

Bumps the eslint group with 1 update: eslint-plugin-react-compiler.

Updates eslint-plugin-react-compiler from 0.0.0-experimental-56229e1-20240813 to 0.0.0-experimental-7670337-20240918

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the eslint group with 1 update: [eslint-plugin-react-compiler](https://github.com/facebook/react/tree/HEAD/compiler/packages/eslint-plugin-react-compiler).


Updates `eslint-plugin-react-compiler` from 0.0.0-experimental-56229e1-20240813 to 0.0.0-experimental-7670337-20240918
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/compiler/packages/eslint-plugin-react-compiler)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner September 23, 2024 06:00
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 23, 2024
@dependabot dependabot bot requested a review from a team September 23, 2024 06:00
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
JS 385.21 KB (0%)
JS (gzip) 116.48 KB (0%)
JS (brotli) 95.62 KB (0%)
JS import Div (tree shaking) 1.45 KB (0%)
CSS 330.12 KB (0%)
CSS (gzip) 41.3 KB (0%)
CSS (brotli) 32.74 KB (0%)

@github-actions
Copy link
Contributor

e2e tests

Playwright Report

@github-actions
Copy link
Contributor

👀 Docs deployed

Commit 63a9b47

@andrey-medvedev-vk
Copy link
Contributor

Похоже, что стоит пропустить это обновление потому, что там много ложных срабатываний у ref-in-render
facebook/react#30745
facebook/react#30843

lint output
/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/BaseGallery/BaseGallery.tsx
  238:41  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  288:40  error  This function accesses a ref value (the `current` property), which may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  288:40  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  302:25  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  305:6   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  308:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  309:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  309:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler
  311:41  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)                                 react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/ChipsInputBase/ChipsInputBase.tsx
  247:20  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/ChipsSelect/ChipsSelect.tsx
  441:48  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/ConfigProvider/ConfigProvider.test.tsx
  45:7  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler
  86:5  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/CustomSelect/CustomSelect.tsx
  704:51  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/LocaleProvider/LocaleProvider.test.tsx
  18:7  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/ModalRoot/ModalRootContext.tsx
  46:16  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  46:16  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/ModalRoot/useModalManager.tsx
  97:31  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/PlatformProvider/PlatformProvider.test.tsx
  15:7  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/Popover/Popover.test.tsx
  81:7  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/Removable/Removable.tsx
  121:19  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/components/View/useLayoutEffectCall.tsx
  33:8   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  34:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  41:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useEnsuredControl.ts
  70:3  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useEventListener.ts
  72:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  73:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  75:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  76:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  79:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  88:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useExternRef.test.tsx
  25:9  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useExternRef.ts
  50:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  51:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  53:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  53:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  56:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useFocusWithin.test.tsx
  12:5  error  Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useObjectMemo.ts
  6:16  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  7:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  9:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/usePrevious.ts
  10:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/hooks/useStableCallback.ts
  20:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/lib/animation/useReducedMotion.ts
  37:10  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

/Users/andrey.medvedev/src/VKUI/packages/vkui/src/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.ts
  312:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  321:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  326:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  327:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  331:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  335:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  338:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  342:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  347:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  350:7   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  355:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  355:49  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  356:5   error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  364:21  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  364:21  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler
  365:20  error  Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)  react-compiler/react-compiler

✖ 60 problems (60 errors, 0 warnings)

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 24, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants