News for hackers. Stuff that matters.
Re:It's React, but in Python by ksherlock on Tuesday June 06, 2023 @03:12PM (#36217670)
Long ago, before jsx and react, before hack, Facebook had a fork of php called xhp, which allowed xml data within php. I'm not suggesting anybody should maintain a fork of python with xml support but a pre-processor could parse xython and generate standard python with trees of html.xx() calls.

https://en.wikipedia.org/wiki/XHP

Re:It's React, but in Python by tedkalaw on Tuesday June 06, 2023 @04:19PM (#36218571)
xhp was honestly pretty nice - it was something watching the rapid codemods transform the language.

There was also ComponentKit, which was used heavily in fbobjc: https://github.com/facebook/componentkit

Re:It's React, but in Python by 4ndrewl on Tuesday June 06, 2023 @04:56PM (#36219005)
And long before transpiling became cool, FB had https://en.m.wikipedia.org/wiki/HipHop_for_PHP
Re:It's React, but in Python by massover on Tuesday June 06, 2023 @07:26PM (#36220523)