News for hackers. Stuff that matters.
Re:Proton Native – React Native for the desktop by discreteevent on Wednesday May 02, 2018 @02:56PM (#16980087)
I think the 'easier to read' is unfair considering that you didn't use QML fur the Qt example. For me QML is easier to read than JSX (and quantitatively it is less verbose)
Re:Proton Native – React Native for the desktop by k__ on Wednesday May 02, 2018 @03:31PM (#16980394)
Is QML declarative?
Re:Proton Native – React Native for the desktop by discreteevent on Wednesday May 02, 2018 @05:40PM (#16981390)
As declarative as JSX

Menu {

  title:qsTr("File")

  MenuItem {

    text: qsTr("&Open")

    onTriggered: console.log("Open action triggered");

  }

}
Re:Proton Native – React Native for the desktop by petalfig on Wednesday May 02, 2018 @04:29PM (#16980872)
Aren't all markup languages declarative by definition?
Re:Proton Native – React Native for the desktop by jcelerier on Wednesday May 02, 2018 @05:52PM (#16981468)
QML isn't only about markup, it also support property binding directly in the language - it's a full-fledged reactive environment.
Re:Proton Native – React Native for the desktop by k__ on Wednesday May 02, 2018 @05:23PM (#16981273)
Probably?