Show loading indicator using react?

Hi there, I wanted to ask how to show a loading indicator using React?

I have a multiple indexes from different categories and I wanted to show a loading state in front-end that lets the user know that it is pulling the data when the user either use the search or filters. As of now it doesn’t look good as the items shows up around 1000 - 1500 ms.

I hope you can point me into the right direction as I’ve been stuck with this for quite some time. Thanks!

1 Like

I’m also looking for this and am using React InstantSearch Hooks