Talk Python To Me cover image

#321: HTMX - Clean, Dynamic HTML Pages

Talk Python To Me

00:00

How to Delay Requests to Improve User Experience

You don't want to issue a request that would be crazy and not a good user experience. So what you can do is add a delay modifier to a trigger and say, delay, wait until you until a key up. There's another option, which might be more appropriate for mouse movements,. This is the example of something that I think many web apps would benefit from. And it can be achieved very quickly with just a small amount of HTML on the front end and a small refactoring of the code at the back end.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app