-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Improve block performance #2266
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
LGTM
@@ -361,7 +361,7 @@ | |||
|
|||
(when (= @drag-target :before) [drop-area-indicator/drop-area-indicator {:placement "above"}]) | |||
|
|||
[editor/editor-component | |||
[:f> editor/editor-component |
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.
What does this change do?
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.
Outline renderer blocks watch to see when they're in the viewport.
When they are, they'll render their more expensive parts. When they aren't, they'll render leaner versions of themselves.