Re:ImHUI: Imgui-style library for the web using actual HTML ...
by blondin on Wednesday March 03, 2021 @12:35PM
(#26331723)
imgui tends to get much love around here. i have to say, the most interesting aspect of the swift language ecosystem for me is swiftui. they really nailed declarative ui. the web should really steal that model.
[ Parent
| on HN ]
Re:ImHUI: Imgui-style library for the web using actual HTML ...
by mumphster on Wednesday March 03, 2021 @12:41PM
(#26331807)
Have you used react at all? Check out react + rxjs for a similar experience, add some typescript on top and it becomes even better!
Re:ImHUI: Imgui-style library for the web using actual HTML ...
by beaconstudios on Wednesday March 03, 2021 @12:54PM
(#26331994)
I love rxjs but I wouldn't call it user friendly. It's essentially a text encoding of data flow programming and requires a totally different mental model to react. The explicit coding of time is great, but for most reactive js code react's own logic is simpler and more idiomatic.
Re:ImHUI: Imgui-style library for the web using actual HTML ...
by mumphster on Wednesday March 03, 2021 @04:32PM
(#26334893)
For sure, dont mean to argue that point at all. I'm just saying the interface of swiftui is very much observables + a react like component setup, its pretty neat to see something like that coming from Apple
Re:ImHUI: Imgui-style library for the web using actual HTML ...
by beaconstudios on Thursday March 04, 2021 @05:37AM
(#26340828)
oh yeah, totally agree. I'm building a business based on observability and reactivity though so I'm biased ;)
Re:ImHUI: Imgui-style library for the web using actual HTML ...
by The_rationalist on Wednesday March 03, 2021 @05:17PM
(#26335524)
Stencil, angular, vue with the class api are all delightfully declarative through decorators