We’ve released a second beta of ACF PRO 5.12 with the following fixes and changes from Beta 1
To access this release, please login to your account, navigate to the “Licenses” page and select version “5.12-beta2” from the available downloads.
Unfortunately, until we or the Gutenberg team can develop a solution to make these third party libraries work correctly inside the Site Editor, you’ll need to use the sidebar to modify any block specific fields in ACF Blocks in the Site Editor. This matches the behavior of using a block inside a query loop block.
Each time an ACF block is rendered in the block editor, an AJAX call is required to load your template. With the introduction of block patterns which can contain ACF Blocks and other features that show previews in the block editor, this leads to a significant amount of loading.
Whilst we can’t prevent that initial load, in the case of block patterns often the same block is loaded many times. To solve this, we’ve implemented a local cache of these AJAX call results, which means we only need to make that call once, no matter how many times it’s displayed.
This should result in significantly less AJAX calls and improved performance, especially when using features like block styles or ACF blocks inside block patterns.
You may notice some debugging
console.log deliberately left in this beta to support us debugging any issues you find with this system. These will be removed for the final release.
$contextwas not available in preloaded blocks or frontend rendering in 5.12-beta1