So, I have a Gutenberg block that has a custom component inside, that needs to be refreshed if the dimensions of the block change. However, apparently there's no way for me to detect when the alignment
attribute (wide
or full
) has changed.
Is there a way to listen to changes on that attribute, and run a custom callback, when needed?
Thanks!