algolia / vue-instantsearch

👀 Algolia components for building search UIs with Vue.js
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue
MIT License
854 stars 157 forks source link

Memory leak in nuxt #834

Closed bootsmann1995 closed 1 year ago

bootsmann1995 commented 4 years ago

I get a memory leak some times in serve and every time on build: the errors are following: Serve: image build: image

im using the V3 setup, algolia has in its documentation: https://codesandbox.io/s/github/algolia/vue-instantsearch/tree/master/examples/nuxt

here is my code: image

Haroenv commented 4 years ago

Hi @bootsmann1995, the code you sent is in a screenshot, which means that we can't run that. It seems like there are some differences between the existing component and this one.

To note as well, that the component which has serverPrefetch can not also have asyncData, since both have the same goal, and would become an infinite loop otherwise

Could you create your example code in a repository or sandbox please?

Haroenv commented 1 year ago

As I believe this hasn't been reported since, I think you found a solution, so I'll close this issue now. Thanks for reporting!