Skip to content

Blog ​

Welcome to the Leo Query blog! Here you'll find articles about state management, data fetching, and more.

Latest Posts ​

Implementing Retry Logic

Lots of things can go wrong when you're making HTTP requests. Wifi can cut out. Servers can overload. Apps need to have a retry strategy for good UX. Leo Query implements a nuanced retry strategy using an exponential backoff... read more

Delaying Execution with Wait

Sometimes I want to delay execution in Leo Query. This may be to delay a retry or wait for a React render. I prefer the async / await syntax over `setTimeout`. So I wrote a small `wait` utility function to use in the Leo Query code... read more