4 ms·
At first glance, I don't understand the design choice of appending HTML templates to the python controller files. Seems like a lot of complexity just to remove
by evantbyrne 1y ago
At first glance, I don't understand the design choice of appending HTML templates to the python controller files. Seems like a lot of complexity just to remove a template render call. What am I missing?
- emixam 1y agoIt's in sync with the Locality of Behavior [0] principle that htmx follows. It's inspired by Astro Pages [1] which are the same thing in the javascript world. I really liked the developer experience working with them. [0] https://htmx.org/essays/locality-of-behaviour/ https://htmx.org/essays/locality-of-behaviour/ [1] https://docs.astro.build/fr/basics/astro-pages/ https://docs.astro.build/fr/basics/astro-pages/