Can we list together which action generates breaking change on a component ? To know when it is better to create a duplicate component and deprecate the old one.
Can’t:
- Delete a layer
Can:
- Update the name
- Detach the variant
Can we list together which action generates breaking change on a component ? To know when it is better to create a duplicate component and deprecate the old one.
Can’t:
Can:
@Blandine_PELAT I would love to have such a list too. @Figma_Moderation is there something like that? (btw. hope it is fine that I tag you here)
Some cases that will cause breaking changes:
delete visually visible layer
change layer structure (exception: text property already set and that is the only thing to move around)
updating layer names in only one instance and forget about the others (critical on overrides)
removing used nested components (… because a new Figma feature makes the use of it redundant 🙂
remove hidden layers that where needed because of a set boolean prop
you should be cautious when …
updating granular components (e.g. atom level) for a specific purpose and forget about the other components that use it and where the change might break things.
when deprecating components (always a critical decision to weigh if its needed or not in each use case, and this can also come with breaking changes)
cleaning up old components and forget about overrides in instances or structure
using {selection colors} for updating color tokens and therefore accidently create overrides in nested instances.
change text inside a textblock which has not yet had a layer naming. Because that might change the layer name to the new text.
When to decide if you should deprecate a component (my 2 cents):
This is a rather difficult question and I do not have a clear answer as I am also struggling a lot with this.
Things I ask myself, the component stats or the teams are:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.