I made a "jsx for python" ... pretty awesome

Reply to this note

Please Login to reply.

Discussion

Does it transpile to js?

no it runs server-side. it's basically an alternative to jinja templates

it's like templ but for python

Would be cool if we could get it to generate js, we'd be writing frontends in Python ! 😛

no ‘return’ keyword? 🧐

Have you seen: https://nicegui.io/

I plan on building my next site with this.

Yea that fasthtml syntax is just ugly to me. I’d rather look at real html like jsx has.

there is an extension for vscode that does html syntax highlighting for python doc strings so i was using that in a similar way