nuxt-modules / algolia

🔎 Algolia module for Nuxt
https://algolia.nuxtjs.org/
MIT License
189 stars 35 forks source link

Implement server endpoint for handling SSR Requests #125

Closed Baroshem closed 1 year ago

Baroshem commented 1 year ago

Is your feature request related to a problem? Please describe.

Recent SSR support seems to be causing bugs for certain use cases so maybe a solution here would be to create a new endpoint that useAlgoliaSearch will send a request to and there, this case will be handled without any polyfill needed.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Baroshem commented 1 year ago

This wont work as well because server endpoint cannot handle algoliasearch client library depenendencies :(