✅ Do's # Practice Reason 1 Default to Server Components Smaller bundles, direct data access 2 Use 'use client' only when needed Only for state, effects, event handlers 3 Store JWT in httpOnly cookies XSS-proof — tokens never exposed to JS 4 Validate inputs with Zod Runtime type safety on server 5 Use loading.tsx for every route Better UX with loading skeletons 6 Use error.tsx for every route group Graceful error handling 7 Use next/image for all images Auto optimization, lazy loading 8 Use next/link for navigation Client-side nav with prefetching 9 Use TypeScript strict mode Catch bugs at compile time 10 Co-locate related files Keep page, loading, error together ❌ Don'ts # Anti-pattern Correct Approach 1 Don't store JWT in localStorage Use httpOnly cookies via API routes 2 Don't 'use…