Alejandro Bailo
Alejandro Bailo
😍, good news!
> > Thanks for the catch, I think it's better to get the user info in `user-nav.tsx` rather than in navbar.tsx to avoid the prop drilling because `navbar.tsx` does not...
> The current approach is better than calling it in the user-nav for mainly two reasons: > > 1. useEffects are not compatible with Suspense since it happens after page...
> And I don't think there is anything wrong with api call in the navbar as there is no degradation in performance at all and we won't be reusing the...
> > 1. Content Layout shouldn't exist. In NextJS apps, the Layout component is responsible for these layouts that are repeated across the app. > > 2. The user should...