News for hackers. Stuff that matters.
Re:It is hard to avoid JavaScript by solardev on Sunday February 25, 2024 @12:42PM (#39502868)
The two aren't mutually exclusive (responsive design and GUIs). Winforms was responsive long before HTML. Dreamweaver was OK at responsive layout shifts in real time. Figma handles it OK too. Even the browser inspector with hot module reload can do the job.

But not having easy drag and drop at the component level, and having instead to cut and paste chunks of code, makes it slower and more error prone in my experience.

Re:It is hard to avoid JavaScript by moritzwarhier on Sunday February 25, 2024 @02:25PM (#39503897)
Fair point. There surely is a space for new tools of this kind.

All that is needed to build such a tool is available.

I think you are talking about a developer-focused tool you mentioned WinForms.

The largest issue building something like this is probably what the input (widgets/components) and output formats (a layout description to be consumed by some framework like react? or pure HTML/CSS?) should be.

It needs to be integrated with the code, and we're leaving pure HTML/CSS territory here for purely technical reasons.

The web still has no proper native component abstraction.

Outputting pure HTML/CSS wouldn't be very useful to me, but might still be cool to visually design layouts, and be useful in some cases.