A lot of pages are using the 'use client' tag when they make fetch requests to the API. The whole point of NextJS is to do server-side rendering as much as possible.
Rather than applying 'use client' to the entire page, we should be separating out these client-sided components and only applying 'use client' to them.
A lot of pages are using the 'use client' tag when they make fetch requests to the API. The whole point of NextJS is to do server-side rendering as much as possible.
Rather than applying 'use client' to the entire page, we should be separating out these client-sided components and only applying 'use client' to them.