2 ms·
Anecdotally, in the very early days Figma rendered its UI entirely in canvas, but we eventually switched over to React for the UI. It ended up being far easier
by jjcm 3y ago
Anecdotally, in the very early days Figma rendered its UI entirely in canvas, but we eventually switched over to React for the UI. It ended up being far easier for development cycles and for accessibility/integration with existing browser features.
- solardev 3y agoI thought you guys recently rewrote everything to be in WebGL instead?
- rileyphone 3y agoGo inspect the source and see for yourself, the UI is normal HTML.
- pests 3y agoI think their UI is react but the actual drawing canvas is WebGL.
- TrevorSundberg 3y agoI always thought it was so cool Figma just rendered to a canvas! Oddly enough I ran into this at my previous job doing browser isolation when we got a bug report that Figma wasn’t displaying properly in our browser. Makes sense to switch the rest of the UI to react though, just for how many people know it.