Type d'évaluation
Mise en situation réelle
Analyse
Intelligence Artificielle
Compétences ciblées
Scénario Technique
Context A Next.js 14 application serves a product detail page that combines static server-rendered content with interactive client-side widgets. The Problem The entire page is currently a Client Component, causing unnecessary JavaScript to be sent to the browser for content that never changes after render. Constraints Design a clear Server Component / Client Component boundary. Fetch data in the Server Component without useEffect. Use the use client directive only where interactivity is required. Avoid passing non-serializable props across the boundary. Expected Deliverable A Next.js 14 page architecture demonstrating the correct Server/Client Component split, with server-side data fetching and minimal client-side JavaScript.
Prêt à évaluer ce talent ?
Accédez à l'interface de test complète pour soumettre votre architecture ou votre code.