Hacker News new | past | comments | ask | show | jobs | submit login

Even with native toolkit, an app like this one will require custom widgets and layout engines. The equivalent is Canvas, but I don’t know how performant it is.



> Even with native toolkit, an app like this one will require custom widgets and layout engines.

Yes, yes it would. That is why I wrote this: "Just giving the ability to get an element's size without causing a full-page re-flow and re-layout would give much more power to UIs than any number of relative sizes and container queries."

Because on the web you can barely make custom widgets and it's almost impossible to do custom layouts.

Unless, of course, you use the equivalent of early 2000s Windows GDI in the form of Canvas, or a limited subset of OpenGL in the form of WebGL etc. And yes, people end up resorting to that. Look at what Figma wrote: https://www.figma.com/blog/building-a-professional-design-to... "Pulling this off was really hard; we’ve basically ended up building a browser inside a browser"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: