Skip to content

From the blog

How To Conditionally Display an Algolia Filter using Vue InstantSearch

I needed to conditionally display a filter in Algolia. I was using vue.js to put the UI together for the site. Conditional display of the filter should be an easy thing but apparently Algolia recently removed easy access to the UI state object. You can find other reported instances of this issue here https://github.com/algolia/vue-instantsearch/issues/624#issuecomment-464664333 https://discourse.algolia.com/t/is-it-possible-to-watch-uistate-in-vue-instantsearch/11173/5 … Continued