Justin Moon npub1zxu6...cx2y I made a "jsx for python" ... pretty awesome 2025-12-05 03:57:02 from 1 relay(s) 6 replies ↓
ABH3PO abhay@formstr.app npub1cgd3...kfex Does it transpile to js? 2025-12-05 04:02:25 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
Justin Moon npub1zxu6...cx2y no it runs server-side. it's basically an alternative to jinja templates 2025-12-05 04:20:34 from 1 relay(s) ↑ Parent 2 replies ↓ Reply
Justin Moon npub1zxu6...cx2y it's like templ but for python 2025-12-05 04:20:55 from 1 relay(s) ↑ Parent Reply
ABH3PO abhay@formstr.app npub1cgd3...kfex Would be cool if we could get it to generate js, we'd be writing frontends in Python ! 😛 2025-12-05 04:27:14 from 1 relay(s) ↑ Parent Reply
ben ben@northwest.io npub10000...7nql no ‘return’ keyword? 🧐 2025-12-05 04:31:08 from 1 relay(s) ↑ Parent Reply
Rydal Rydal@gitlurker.info npub1zwnx...fhrf Have you seen: https://nicegui.io/ I plan on building my next site with this. 2025-12-05 06:31:05 from 1 relay(s) ↑ Parent Reply
ausstu ausstu@austinstuart.com npub1dj08...x6y4 The horrors people go through to not learn JS. 2025-12-05 06:49:28 from 1 relay(s) ↑ Parent Reply
shroominic shroominic@routstr.com npub18gr2...u9su https://www.fastht.ml 2025-12-05 08:22:37 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
shroominic shroominic@routstr.com npub18gr2...u9su there is an extension for vscode that does html syntax highlighting for python doc strings so i was using that in a similar way 2025-12-05 08:23:58 from 1 relay(s) ↑ Parent Reply
Justin Moon npub1zxu6...cx2y Yea that fasthtml syntax is just ugly to me. I’d rather look at real html like jsx has. 2025-12-05 14:15:44 from 1 relay(s) ↑ Parent Reply