4 ms·
I no longer default to creating a new or alternative view for returning html specifically for htmx. Sticking with existing views and using hx-select to select a
by tmnvix 2y ago
I no longer default to creating a new or alternative view for returning html specifically for htmx. Sticking with existing views and using hx-select to select and swap content is totally fine most of the time.
- spapas82 2y agoYou can also try unpoly that works this way by default (use the same views/templates swapping only the parts that have changed)