Comment

Comment by anentropic

I've been working on a Django + Vite + HTMX + Alpine project for the past year or so

Using django-htmx and django-vite libs (the latter forked to add Jinja support)

Been pretty happy with it

The main wart I find is the lack of type-safe templating in Python, feels primitive and clunky compared to what you have with TSX in a React project

Been using Jinja macros as 'components' which... works. The syntax is kinda ugly to read though, and haven't found any really great linter.

parent anentropic 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton