-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Weird performance issue #19639
Weird performance issue #19639
Conversation
|
@@ -87,7 +59,6 @@ function BlockListBlock( { | |||
isSelectionEnabled, | |||
className, | |||
name, | |||
index, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also remove the selector from withSelect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's part of #19597. This branch is just to illustrate the performance issue. :)
function BlockListBlock( { | ||
mode, | ||
isFocusMode, | ||
moverDirection, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also remove the prop from BlockList
Description
This is just to share and not to actually merge. It's super strange that removing this causes typing speed too increase from 30ms to 36ms (20%!).
How has this been tested?
Screenshots
Types of changes
Checklist: