Open bph opened 5 months ago
@gaambo thank you for submitting the topic. It as approved at today's Editorial Group meeting.
Would you please comment on this issue so it can be assigned to you as the writer. (GitHub is quirky that way)
If you haven't seen those pages yet.:
Just wanted to add, those are some of the commits I find interesting:
https://github.com/WordPress/gutenberg/pull/56783 - maybe this is something that's interesting for extenders hooking into BlockEdit
filter?
https://github.com/WordPress/gutenberg/pull/56847/
https://github.com/WordPress/gutenberg/pull/56957
https://github.com/WordPress/gutenberg/pull/56915
It seems @ellatrix made a lot of commits for improved performance with store subscriptions/selectors. So maybe she can give some input :)
It boils down to: adding block editor store subscriptions should be avoided inside blocks. If necessary, try adding it only for the selected block. You can early return in the useSelect callback.
Discussed in https://github.com/WordPress/developer-blog-content/discussions/205