the-dataface / figma2html

Export Figma frames as responsive HTML and CSS
https://www.figma.com/community/plugin/1109185297790825980/figma2html
MIT License
48 stars 8 forks source link

Refactor: Context instead of bindings #70

Closed sawyerclick closed 1 year ago

sawyerclick commented 1 year ago

We pass config and data around our UI using a string of bindings. It's a little hard to follow. I propose we refactor to use getContext/setContext with stores. They will still be able to be bounded where applicable, but we'll be able to bypass the triple-nested bindings we're using now