Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Implementing a Loading Indicator #25

Open
malulm opened this issue Jan 24, 2025 · 0 comments
Open

Question: Implementing a Loading Indicator #25

malulm opened this issue Jan 24, 2025 · 0 comments

Comments

@malulm
Copy link

malulm commented Jan 24, 2025

Hello! First, thank you for this great package—it has been very useful in my project!

I’ve been exploring ways to implement a loading indicator in my search experience, following the Algolia documentation on loading indicators. However, I noticed that the status provided by ais-state-results always seems to be idle (or at least that's what I’ve observed so far). Given the package’s design as SSR-first and client-only on demand, this makes sense, but it also means implementing a loading indicator isn’t as straightforward. So -

Are there any recommended workarounds or future plans to expose a loading state for better UI feedback?

Thanks in advance for your insights! Let me know if there’s anything I can clarify further or contribute to the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant