Echo JS 0.11.0

<~>
chris-l 912 days ago. link parent 1 point
I kind of agree, but perhaps should be seen the opposite way.

So, instead of thinking about libui (or something similar) for only simple UI apps and electron for something more advanced, try to think about it more like using libui as default and only electron if something more complex is needed.

The way I see it, is that the difference between libui and electron, is that it is somehow the same as nativscript and phonegap, and offering a native experience can be considered a plus.

Replies

tracker1 912 days ago. link 1 point
It comes down to very different needs, and the composite fit... What would be more cool would be some kind of React Native-like binding that leverages libui under the covers...  No idea if/how hard it is to develop/design custom controls against libui though.
parroit 911 days ago. link 2 points
A React Native-like its what I want to develop on top of this module, as next step.

> No idea if/how hard it is to develop/design custom controls against libui though.

I've yet to explore these lands, but I guess the following:

* Completely new custom control, based on bare metal GUI native API controls and available on OSX, Linux, Windows: Difficult

* Custom control based on existing libui UiArea, where you handle custom drawing (you write code once, same drawing on each platform): Medium 

* Custom control where you mix some existing widgets to implement a new one: Easy
tracker1 910 days ago. link 1 point
Yeah, I'm definitely interested in seeing React-Native-alike options make it... IIRC there's something for the newer windows bits, but haven't looked into it, and it isn't cross-platform.