Home

Client Side Data Fetching

This page data is fetched dinamically, the actual request is done in the browser, BUT it makes a request to a backend API endpoint.

The api endpoint is a folder in Nextjs that serves as a backend, the data is fetched in the backend and returned to the client. This could be our common behaviour for frequently updated content (we dont need to wait the site to build).
Form is a regular React component, with useState reading the query params.
- PROS: Client side, fast and responsive UX, backend call, no API_Keys securities concern.
- CONS: Linkable filters might need some extra preparation.

Loading....
Loading...