News for hackers. Stuff that matters.
Re:ECMAScript for XML - Direct XML Syntax in ECMAScript by eyelidlessness on Wednesday June 02, 2021 @12:34PM (#27370744)
And JSX is renderer-agnostic (and even implementation-agnostic). You can use it to render anything from CLIs to smart TV interfaces.
Re:ECMAScript for XML - Direct XML Syntax in ECMAScript by slver on Wednesday June 02, 2021 @03:27PM (#27372925)
I'm curious what I'd use JSX for in a CLI :)
Re:ECMAScript for XML - Direct XML Syntax in ECMAScript by eyelidlessness on Wednesday June 02, 2021 @09:21PM (#27376109)
The same single direction data flow/declarative render model as you’d use for DOM! The most prominent example is Ink: https://github.com/vadimdemedes/ink