Loading state visualization for menus, built with bazza/ui Menu ⁽¹⁾ and TANSTACK Query:
kian bazza
Visit on X@kianbazza6.7K followers
17,279 views
Loading state visualization for menus, built with bazza/ui Menu ⁽¹⁾ and TANSTACK Query:
⊙ First fetch: default loading spinner
⊙ Re-fetch: show cached data + inline spinner in the input
It makes two different states obvious to the user:
"We have nothing yet" vs. "here's what we have, but we're checking for updates."
⁽¹⁾ Releasing a preview soon. Hop in to the bazza/ui Discord for access:
Comments
Comments from the original post on X (Twitter)
No comments yet
