News for hackers. Stuff that matters.
Re:Rust 2021: GUI by oblio on Tuesday September 29, 2020 @05:41PM (#24633354)
You mean that they should wrap native controls? It's not React Native's model, it has been around since forever.

WxWidgets (https://en.wikipedia.org/wiki/WxWidgets) 1992

SWT (https://en.wikipedia.org/wiki/Standard_Widget_Toolkit) 2003

Or if you mean React itself, I found this blog post kind of funny: https://www.bitquabit.com/post/the-more-things-change/ :-)

Re:Rust 2021: GUI by andy_ppp on Tuesday September 29, 2020 @05:50PM (#24633439)
No I mean something that uses:

1) data builds the UI

2) widgets, don’t really care if they are native but some building blocks (button, lists, activity indicator etc.) The list from React native will do for now.

3) layout using flexbox and the exact same simplified css with the cascade.

That’s what I’m saying to take anyway.

Re:Rust 2021: GUI by thesuperbigfrog on Tuesday September 29, 2020 @06:49PM (#24633995)
Those items remind me very much of how GUIs are specified in Tk:

https://en.wikipedia.org/wiki/Tk_(software)

Perhaps a model similar to Tk could be used?

Re:Rust 2021: GUI by andy_ppp on Tuesday September 29, 2020 @07:03PM (#24634089)
Which is more broadly known about and used, Tk or React Native? It really doesn’t matter anyway, I’m just suggesting these things that work fairly well to avoid more standards proliferation. It won’t work.
Re:Rust 2021: GUI by andy_ppp on Wednesday September 30, 2020 @02:54AM (#24636287)
Should read “The list of widgets from React Native” and “withOUT the cascade”. Guess I was tired last night...