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 create new Binding and Version tag components on every render #1076

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

philippfromme
Copy link
Contributor

@philippfromme philippfromme commented Sep 11, 2024

Proposed Changes

Creates the component only once so that React doesn't replace it in the DOM on every render assuming it's a different component.

brave_7UumTgsygU


Related to camunda/camunda-modeler#4513

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Sep 11, 2024
@philippfromme philippfromme changed the title fix(zeebe): don't create new _Binding_ and _Version tag_ on rerender Don't create new _Binding_ and _Version tag_ components on every render Sep 11, 2024
@philippfromme philippfromme changed the title Don't create new _Binding_ and _Version tag_ components on every render Don't create new Binding and Version tag components on every render Sep 11, 2024
Copy link
Contributor

@jarekdanielak jarekdanielak left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@philippfromme philippfromme merged commit 457db30 into main Sep 11, 2024
10 checks passed
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Sep 11, 2024
@philippfromme philippfromme deleted the fix-version-tag branch September 11, 2024 12: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.

3 participants