News for hackers. Stuff that matters.
Re:React 19 by TimTheTinker on Thursday December 05, 2024 @02:59PM (#42332038)
Seriously, I think there is a possible future where a macOS-like reactive UI toolkit is developed that compiles and deploys to the web via WASM. Maybe even a compiler that takes something like Xcode's Interface Builder's .nib files (and associated code). Microsoft tried something like that with Blazor WebAssembly. It works really well, but I think a fully data-reactive model like Apple's could be even more successful when applied to web apps.

Whatever the case, I think very few companies have reached the excellence of native macOS interface design in the context of a web app. Figma is a lone exception; for anyone else to achieve what they have, they'd have to reinvent the wheel yet again in so many small ways. (Have you noticed in Figma how moving the mouse down and to the right diagonally from a menu item to its associated submenu does not cause the menu item and submenu to be deselected? That detail, and so many others, are straight-up macOS-inspired UI craftsmanship.)

We need a reusable toolkit that lets ordinary developers achieve Figma-level UI excellence in web apps.

Re:React 19 by colonelspace on Thursday December 05, 2024 @03:35PM (#42332468)
> Maybe even a compiler that takes something like Xcode's Interface Builder's .nib files

Please never let this happen.

Re:React 19 by mejutoco on Thursday December 05, 2024 @03:24PM (#42332354)
Dreamweaver existed even earlier. I hope something like what you mention (flutter) does not become popular because of accessibility.
Re:React 19 by nox101 on Thursday December 05, 2024 @04:52PM (#42333224)
I don't agree but if you're looking for something that renderers everything in a canvas it's called Flutter https://flutter.dev/, and strangely it's made by Google, even though Flutter's success means the end of scraping the web for search.
Re:React 19 by mattgreenrocks on Thursday December 05, 2024 @05:48PM (#42333727)
Parent speaks the truth.

The amount of fiddling and tweaking required for web UI feels substantially higher than any GUI toolkit I’ve ever used. And I’ve used a lot of them!

I suspect this isn’t seen as a problem because Vite and friends do an amazing job of hot reload. But it is still a helluva brick wall to shipping things.