Replies: 2 comments 1 reply
-
I would appreciate the feedback from @danielroe @timbenniks @chuckmeyer :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
In general, I would say that Vue composables ( const { data, pending, error } = useAlgoliaSearch({ indexName: 'test_index', query: 'Samsung' }); And under the hood it can call |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks!
I recently added a support for SSR requests to Algolia and I liked the experience so I decided to go a little deeper and work on the current
useAlgoliaSearch
composable to improve Developer Experience.Currently, this is how we are using the composable on client side:
It works quite well but I have been thinking about refactoring it to something like this:
It would be more aligned with current implementation of
useAsyncData
anduseAsyncAlgoliaSearch
. The functionality would not change and this new composable would work for other client use cases as well (like search bar).Beta Was this translation helpful? Give feedback.
All reactions