Hello people
Is there any smart way of refactoring components?
Some context here: we’re about to give the design a boost and this will change many of the components in the library. The smartest way would be if the components are build with only tokens/variables but they are not so i need to find another way.
I would love to do it this way:
- Build a Button_new with the new look so you can manually change it to that component (or make a property for it true/false)
- Change the old button with the new button
The problem i have with it that when i do that (by changing its name) the change doesn’t go through the component on my canvas.
Anyone can help?