How to conditionally render a Next.js component based on whether a request comes from a (Firebase) authenticated user?
Note: I'm using Next.js 13 with the app/ directory. I'm learning Firebase and Next.js and I'm struggling to understand how to solve a toy problem. Suppose I have a Home() component like this /app/page.jsx export default function Home() { return…