Skip to content

Loading indicator in Search bar #475

Answered by mrchief
aishwarya2392 asked this question in Q&A
Discussion options

You must be logged in to vote

data is always there since it's the caller that fetches it and assigns it - so there's no loading state. Now if you want to show a loading indicator while you're fetching then in that case, I think you can hide the component and show a loader and once the data is fetched, toggle back the component.

Let me know if you've a different use case in mind.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aishwarya2392
Comment options

@mrchief
Comment options

Answer selected by aishwarya2392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants