Forget complex useEffect + loading state boilerplate just to fetch data on page load. In Next.js Server Components, you can mark your component async and simply await fetch(...) or query your database directly.
Because this runs on the server, your API tokens and database queries stay completely hidden from the browser.