News for hackers. Stuff that matters.
Re:It's React, but in Python by est on Tuesday June 06, 2023 @10:33PM (#36222139)
might just use pyxl4, by dropbox or Guido himself.

https://github.com/pyxl4/pyxl4

example:

# coding: pyxl

from some_module import x_user_badge

user = User.get(some_user_id)

content = <div>Any arbitrary content...</div>

print <user_badge user="{user}">{content}</user_badge>

Re:It's React, but in Python by palencharizard on Tuesday June 06, 2023 @10:50PM (#36222274)
This is what's missing from the reactive-python project IMO.

A huge draw for React is that it _extends_ the JavaScript Syntax. If you still had to compose your React components with a bunch of nested `React.createElement('Component')` calls (instead of `<Component />`) it wouldn't be nearly as useful.