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

WRQ-20844: Fixed React 18.3 warnings in enact/ui/Layout #3239

Merged
merged 14 commits into from
May 30, 2024

Conversation

daniel-stoian-lgp
Copy link
Contributor

@daniel-stoian-lgp daniel-stoian-lgp commented May 21, 2024

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

In React 18.3, There are warnings for key spreading. The warning is reproducible when using agate/LabeledIconButton

Resolution

Passed key attribute directly to JSX without using spread in enact/ui/Layout/Cell

Additional Considerations

Links

WRQ-19328

Comments

Enact-DCO-1.0-Signed-off-by: Daniel Stoian ([email protected])

juwonjeong and others added 7 commits May 16, 2024 09:52
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
…y in sampler

Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.42%. Comparing base (ecb1029) to head (a7a0387).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3239   +/-   ##
========================================
  Coverage    82.42%   82.42%           
========================================
  Files          156      156           
  Lines         7214     7215    +1     
  Branches      1912     1912           
========================================
+ Hits          5946     5947    +1     
  Misses         997      997           
  Partials       271      271           

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

packages/ui/Layout/Cell.js Outdated Show resolved Hide resolved
packages/ui/Layout/Cell.js Outdated Show resolved Hide resolved
packages/ui/Layout/Cell.js Outdated Show resolved Hide resolved
Copy link
Contributor

@juwonjeong juwonjeong left a comment

Choose a reason for hiding this comment

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

LGTM

@juwonjeong juwonjeong merged commit 3cf15c2 into develop May 30, 2024
7 checks passed
@juwonjeong juwonjeong deleted the feature/WRQ-20844 branch May 30, 2024 01:55
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.

3 participants