Skip to content

fix: rewrite headless results logic in hook, making sure all pages will be...

Max de Vries requested to merge feature/headless-results-all-pages-loading into master

This merge request:

  • Moves the headless results logic from component to hook
  • Completely rewrites the headless results loadAllPages logic, so it works without setting a manual delay and uses a reusable loadNextPage function
  • Adds logic so each time the search query or filters update, all pages will be reloaded with the updated state
  • Adds type to all type imports where this was not already the case

Merge request reports

Loading