You can still use the onChange listener and do setAttributes only when value passed in onChange is different from the one in attributes.customColors
. This is one if
and should not penalize performance much.
You can still use the onChange listener and do setAttributes only when value passed in onChange is different from the one in attributes.customColors
. This is one if
and should not penalize performance much.