I’ve successfully synced my collection with Algolia, now I want to create a client to search and return results. Algolia has the perfect library, instantsearch.js , for the client side but it won’t work.
If anyone has experience with this please let me what you did to get it to work. Thank you!
@a.com In adddition to the DOMContentLoaded event, you need to use a Mustache template string instead of adding the template to your HTML file with a script tag.
I used the onRendered callback instead of DOMContentLoaded and that worked just fine. Also no need for template strings. You can use Blaze alright to render you templates. Just use it like this: