Skip to content

Implement a simple shouldComponentUpdate for DNDRoomTile#6313

Merged
lukebarnard1 merged 2 commits intodevelopfrom
luke/perf-room-list-dnd
Mar 15, 2018
Merged

Implement a simple shouldComponentUpdate for DNDRoomTile#6313
lukebarnard1 merged 2 commits intodevelopfrom
luke/perf-room-list-dnd

Conversation

@lukebarnard1
Copy link
Copy Markdown
Contributor

@lukebarnard1 lukebarnard1 commented Mar 14, 2018

because otherwise beautiful dnd spends a lot of time requesting
animation frames pointlessly.

a continuation of matrix-org/matrix-react-sdk#1801

mitigates #6060

because otherwise beautiful dnd spends a lot of time requesting
animation frames pointlessly.
Copy link
Copy Markdown
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

lgtm, although in this case (and probably the other case actually) do you not just want to extend PureComponent?

@lukebarnard1
Copy link
Copy Markdown
Contributor Author

do you not just want to extend PureComponent?

oh. I've not used it before but sounds like a better plan.

@dbkr dbkr assigned lukebarnard1 and unassigned dbkr Mar 15, 2018
@lukebarnard1 lukebarnard1 assigned dbkr and unassigned lukebarnard1 Mar 15, 2018
@dbkr
Copy link
Copy Markdown
Member

dbkr commented Mar 15, 2018

re-lgtm

@dbkr dbkr assigned lukebarnard1 and unassigned dbkr Mar 15, 2018
@lukebarnard1 lukebarnard1 merged commit 6dc7592 into develop Mar 15, 2018
@t3chguy t3chguy deleted the luke/perf-room-list-dnd branch May 12, 2022 09:02
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