Figma Support Forum

Overrides heuristics specification?

For Master plugin I’m using a custom algorithm to preserve all overrides in instances. To compare it to the native swapComponent function and to improve it further, bringing a more native-like experience, it would be nice to have some document which explains all specific heuristics used in the process of saving overrides when swapping components natively. I need to know how it works to the exact detail so I know what to expect from it in certain scenarios. It would be even cooler if the whole algorithm can be released as it would be a great learning resource.

1 Like