Skip to content

Conversation

@curquiza
Copy link
Member

@curquiza curquiza commented Aug 11, 2020

Why rename limitPerRequest? Because of the confusion: it's not a limit per request but the total (and finite) number of results you can browse during pagination. It fixes partially the confusion in #18.

Why remove hitsPerPage? Because we can already configure it with InstantSearch.configure function and our parameter would be redundant.

@curquiza curquiza added the breaking-change The related changes are breaking for the users label Aug 11, 2020
@curquiza curquiza mentioned this pull request Aug 11, 2020
@curquiza curquiza marked this pull request as draft August 11, 2020 11:36
@curquiza curquiza marked this pull request as ready for review August 11, 2020 14:20
@curquiza curquiza force-pushed the rename-limitperrequest branch from 9b191ea to 398327c Compare August 11, 2020 14:21
@curquiza curquiza requested a review from bidoubiwa August 11, 2020 14:22
@curquiza curquiza force-pushed the rename-limitperrequest branch from 4120f76 to 1630657 Compare August 11, 2020 14:23
@curquiza curquiza force-pushed the rename-limitperrequest branch from 1630657 to c872b43 Compare August 11, 2020 14:23
@curquiza curquiza marked this pull request as draft August 11, 2020 15:29
@curquiza curquiza marked this pull request as ready for review August 12, 2020 08:18
@curquiza curquiza changed the title Rename limitPerRequest into totalResults Remove histPerPage and rename limitPerRequest into totalResults Aug 12, 2020
@curquiza curquiza changed the title Remove histPerPage and rename limitPerRequest into totalResults Remove histPerPage and rename limitPerRequest into paginationTotalResults Aug 12, 2020
@curquiza curquiza merged commit 6b4d1a7 into master Aug 12, 2020
@curquiza curquiza deleted the rename-limitperrequest branch August 12, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants