News for hackers. Stuff that matters.
Re:Show HN: Unity like game editor running in pure WASM by jjcm on Tuesday September 26, 2023 @03:27PM (#37664621)
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.
Re:Show HN: Unity like game editor running in pure WASM by solardev on Tuesday September 26, 2023 @03:35PM (#37664730)
I thought you guys recently rewrote everything to be in WebGL instead?
Re:Show HN: Unity like game editor running in pure WASM by rileyphone on Tuesday September 26, 2023 @03:42PM (#37664830)
Go inspect the source and see for yourself, the UI is normal HTML.
Re:Show HN: Unity like game editor running in pure WASM by pests on Tuesday September 26, 2023 @03:44PM (#37664852)
I think their UI is react but the actual drawing canvas is WebGL.
Re:Show HN: Unity like game editor running in pure WASM by TrevorSundberg on Tuesday September 26, 2023 @03:57PM (#37665018)
I 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.