Comment Comment by anentropic I've been working on a Django + Vite + HTMX + Alpine project for the past year or soUsing django-htmx and django-vite libs (the latter forked to add Jinja support)Been pretty happy with itThe 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 projectBeen 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
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.