figma / code-snippet-editor-plugin

Translate component variants, properties, and more into dynamic code snippets for your design system.
https://www.figma.com/community/plugin/1311777988952403297/code-snippet-editor
MIT License
126 stars 11 forks source link

Old instances of component not updated with snippet #33

Closed damalekguide closed 5 months ago

damalekguide commented 5 months ago

Hello :) I have one simple question. I added very simple snippet for button. I see the snippet for newly created instances of button but I'm not seeing anything on old components ("No snippets on this node. Add snippets via the Snippet Editor.")

jake-figma commented 5 months ago

This sounds like you need to pull in component library changes into your files. There should be a popup in the corner of Figma requesting you review changes to the library (theres a dismiss button which you may have clicked). Youll need to pull those changes in in order to get the updates you made to the main components. This is an limitation of Figma which is ensuring updates to designs arent automatically forced on files by library changes.

More on library updates can be found in the Figma help center.