Devarshi Shimpi @devarshi.dev · Jan 2

I thought my code was perfect, until a user tried it. I recently pushed an update to AITab and felt pretty confident. But shortly after, my friend pointed out something I had completely missed something. He was spot on. The UI was flickering.

1 likes 1 replies

?

Replies

Devarshi Shimpi · Jan 2

Every time you type a letter, the interface jumped. Type "H" → Request sent. Type "He" → Request sent. Type "Hel" → Request sent. I fixed it by implementing a 300ms debounce. Now, the app waits for the user to pause before fetching data.