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

Don't bother passing the viewer ref to children, they can get it from… #4034

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

cbeer
Copy link
Collaborator

@cbeer cbeer commented Dec 12, 2024

… the context.

Copy link
Member

@marlo-longley marlo-longley left a comment

Choose a reason for hiding this comment

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

Same comment about the never used imports.
I ran eslint and got warnings, not errors locally:

  4:3   warning  'Children' is defined but never used      no-unused-vars
  5:26  warning  'cloneElement' is defined but never used  no-unused-vars

✖ 2 problems (0 errors, 2 warnings)

Not sure if that differs from the way it worked before.

But nice, seems to help with #4023

@cbeer cbeer merged commit 8f0539d into master Dec 13, 2024
8 checks passed
@cbeer cbeer deleted the viewer-ref branch December 13, 2024 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants