282bb81046
* Subscribe only to changes on core/block-editor * Improve performance of useForcedLayou This is because by the time we reach this line, innerBlocks will be an empty array (or we wouldn't make it this far) and if nextBlocks contains ANY items it will, by definition be unequal, so a length check is simpler and more performant. Also we can remove the dependence on yet another lodash function by doing it this way. * Check if templates synced before doing it again in useForcedLayout Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> |
||
---|---|---|
.. | ||
block-settings | ||
payment-methods | ||
sidebar-notices | ||
view-switcher | ||
editor-utils.ts | ||
hacks.ts | ||
index.js | ||
use-forced-layout.ts |