Skip to content

Conversation

@sfc-gh-bnisco
Copy link
Collaborator

@sfc-gh-bnisco sfc-gh-bnisco commented Oct 21, 2024

Describe your changes

  • In some of my previous modernization PRs, I accidentally omitted a React.memo call for components that were previously using PureComponent
  • This PR puts memo calls where they should be to match prior behavior.
  • See the React Docs on this

GitHub Issue Link (if applicable)

Testing Plan

  • Explanation of why no additional tests are needed ✅
    • Existing tests cover this
  • Unit Tests (JS and/or Python)
  • E2E Tests
  • Any manual testing needed?

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@sfc-gh-bnisco sfc-gh-bnisco added security-assessment-completed Security assessment has been completed for PR impact:internal PR changes only affect internal code change:bugfix PR contains bug fix implementation labels Oct 21, 2024
@sfc-gh-bnisco sfc-gh-bnisco marked this pull request as ready for review October 21, 2024 23:23
Copy link
Collaborator

@lukasmasuch lukasmasuch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@sfc-gh-bnisco sfc-gh-bnisco merged commit d5ab9ed into develop Oct 28, 2024
@sfc-gh-bnisco sfc-gh-bnisco deleted the bnisco/modernize-memo branch October 28, 2024 16:26
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
…treamlit#9697)

## Describe your changes

- In some of my previous modernization PRs, I accidentally omitted a
`React.memo` call for components that were previously using
`PureComponent`
- This PR puts `memo` calls where they should be to match prior
behavior.
- See the [React
Docs](https://react.dev/reference/react/PureComponent#alternatives) on
this

## GitHub Issue Link (if applicable)

## Testing Plan

- Explanation of why no additional tests are needed ✅
  - Existing tests cover this
- Unit Tests (JS and/or Python)
- E2E Tests
- Any manual testing needed?

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:internal PR changes only affect internal code security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants