Post

It looks like PyJSX lets you do this!? My sample code below ran after adding a basic render() helper (which just stringifies the resulting node) and its jsx import github.com/tomasr8/pyjsx

github.comGitHub - tomasr8/pyjsx: Write JSX directly in PythonWrite JSX directly in Python. Contribute to tomasr8/pyjsx development by creating an account on GitHub.
Jonny Buchanan@jbscript.dev

What I imagine the most basic of Django views which generates HTML could look like if it had first-class support for using JSX (Python is my favourite language I haven't used for years, and likewise Django for forms+links web frameworks, excuse me if I getsome the basics wrong) Before and after:

0 reposts0 likes

No replies yet.