Re:Digital Audio Workstation Front End Development Struggles
by mort96 on Tuesday May 16, 2023 @04:04AM
(#35958897)
Hmm? I've written a fair bit of React, which I assume fits the declarative description, and I never got the impression that it leads to an "unreadable nested hell". You split up your big functions into smaller reusable functions, just like in all other forms of programming.
[ Parent
| on HN ]
Re:Digital Audio Workstation Front End Development Struggles
by akdor1154 on Tuesday May 16, 2023 @07:16AM
(#35960202)
By the traditions of desktop ui, React is imperative: it's written in a declarative style, but ultimately jsx is just JavaScript.
The best analogue to "declarative" in desktop ui terms would be to have your dom templates in separate files that you don't manipulate the structure of in code.
I honestly have an overall negative view of react, but its method for letting you declare ui structure is really fantastic.