Instant search v2. Trigger script after each result

Good morning.

I need to run simple js script after each rendering algolia search results.

What is the best way, that we have at this moment?

Thank you.

Hi there,
Thanks for reaching out to us.
It depends on what you’re trying to do, but you can create custom widget using any connector like connectStats and add your own code in the render function.
To learn more about this pattern, you can read this documentation.

Let us know how it goes and if you have any question.