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
The list of items in these pages are currently reasonable in number, but over time, they will probably grow large. It is inefficient to fetch and display all the items in a single page. Instead, it is better to fetch a limited number (say 20) at a time, and have following pages to show subsequent items.
This task would involve using the limit query in Strapi. Keep in mind that, similar to the current implementation, we want all requests to Strapi to be made from Server-Side NextJS. To achieve paging with this constraints, you might have to make either a separate endpoint in NextJS to get subsequent page-data (not recommended), or use Server Actions (like has been done for the alumni section of Members page, recommended).
The text was updated successfully, but these errors were encountered:
The list of items in these pages are currently reasonable in number, but over time, they will probably grow large. It is inefficient to fetch and display all the items in a single page. Instead, it is better to fetch a limited number (say 20) at a time, and have following pages to show subsequent items.
This task would involve using the limit query in Strapi. Keep in mind that, similar to the current implementation, we want all requests to Strapi to be made from Server-Side NextJS. To achieve paging with this constraints, you might have to make either a separate endpoint in NextJS to get subsequent page-data (not recommended), or use Server Actions (like has been done for the alumni section of Members page, recommended).
The text was updated successfully, but these errors were encountered: