Managing Loading State in Typesense Using Nuxt.js
TLDR Nasim needed advice on implementing a loading state during the Typesense loading process in Nuxt.js. Jason initially suggested using vue-instantsearch, but Nasim found a solution by using a temporary variable to toggle the loading state.
Aug 18, 2022 (14 months ago)
firstSearchDoneand initially it’s value is
falseand then I listen to search middleware and see if a search has been completed. If it’s completed then I change the value to
true. Based on this value, I toggle the loading state.
Indexed 2779 threads (79% resolved)
Implementing State Export Feature Using Typesense InstantSearch.js on Node.js Backend
Kyle needed help passing search state to backend for implementing an "Export" feature, while using Typesense InstantSearch. Jason provided multiple solutions including advice on using Typesense InstantSearch adapter. The issue was resolved after some iteration.
Resolving Typesense Setup Issues with VueJS
A sought help with setting up Typesense in a CDN VueJS application. Jason guided him to adjust the initialization and provided a solution to an undefined item warning, resulting in a successful setup.
Custom Hook with Typesense.js for Product Search
Jameshwart seeks a way to set a state before starting a search function in typesense.js. Jason suggests using hooks exposed by axios, mentioning possible GraphQL integration with Typesense.
Implementing Search Suggestion/Autocomplete Functionality in Typesense
Denis needed advice on implementing search suggestions in Typesense. Jason provided a solution for fetching after 3+ letters. However, questions on design pattern and passing hooks remain unanswered.
Discussing Angular Instant Search Optimization
Ivan wanted to optimize Angular Instant Search by triggering search only on typing. Jason provided a solution and relevant documentation links. Kenneth provided additional input and advice.