Subscription Block: migration degrades performance #15449
Labels
[Block] Subscriptions
[Pri] Normal
[Size] M
[Type] Bug
When a feature is broken and / or not performing as intended
Working on Automattic/wp-calypso#40658 I noticed that the subscription block gets updated every time the page template selector gets loaded. It turns out the block gets run through the migration process every time it's loaded, regardless of whether the markup is current or not.
It looks like input and output are the same though, leading to an unnecessary performance degradation where the selector can't finish loading until every subscription block has been updated.
Steps to reproduce the issue
Screenshots
The text was updated successfully, but these errors were encountered: