You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our feed backend request post.getFilteredPosts fetches all posts that match a given set of filters. However, when there are lots of posts, we want to be able to incrementally fetch data to make sure we're not rendering too many unnecessary elements.
Requirements
Modify post.getFilteredPosts to take in an additional value:
pageNumber: number
Define a constant DOCUMENTS_PER_PAGE with a value representing the number of documents that each page would have. Your modified query should use this value to get all documents on the pageNumberth page.
TBD
Acceptance Criteria
PM
Product-specific requirements
EM
Engineering-specific requirements
Designer
Design-specific requirements
The text was updated successfully, but these errors were encountered:
Context
Currently, our feed backend request
post.getFilteredPosts
fetches all posts that match a given set of filters. However, when there are lots of posts, we want to be able to incrementally fetch data to make sure we're not rendering too many unnecessary elements.Requirements
Modify
post.getFilteredPosts
to take in an additional value:pageNumber: number
Define a constant
DOCUMENTS_PER_PAGE
with a value representing the number of documents that each page would have. Your modified query should use this value to get all documents on thepageNumber
th page.TBD
Acceptance Criteria
PM
EM
Designer
The text was updated successfully, but these errors were encountered: