algolia / instantsearch

⚡️ Libraries for building performant and instant search and recommend experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
MIT License
3.68k stars 514 forks source link

fix(recommend): rename maxRecommendations to limit #6196

Closed Haroenv closed 4 months ago

Haroenv commented 4 months ago

Summary

rename maxRecommendations to limit

Result

Any user-facing interface is called limit, but the underlying parameter (also for the helper) is still called maxRecommendations

This is consistent with other widgets that don't have pagination like refinementList

codesandbox-ci[bot] commented 4 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ec6757375cca3146e346fa9d16f4e2be55e411ed:

Sandbox Source
react-instantsearch-app Configuration
example-react-instantsearch-default-theme Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-vue-instantsearch-default-theme Configuration