Component Optimization: Pattern overrides hook #63146
Labels
[Feature] Synced Patterns
Related to synced patterns (formerly reusable blocks)
[Type] Performance
Related to performance efforts
What problem does this address?
Right now, the code inside
ControlsWithStoreSubscription
function is executed on each block change (including writing a post, each keystroke or hovering a block) regardless theOverride block
is present or not (it appears only in patterns as far as I know)gutenberg/packages/editor/src/hooks/pattern-overrides.js
Line 95 in e39ae77
Screen.Recording.2024-07-04.at.14.31.36.mov
How to test
gutenberg/packages/editor/src/hooks/pattern-overrides.js
Line 95 in e39ae77
ping @Mamaduka
The text was updated successfully, but these errors were encountered: