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)
[ Parent
| on HN ]
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?