Dynamic Duniya
Home
Blogs
Books
Datasets
Tutorials
Playground
Quiz
Interview Questions
Loading playground…
Books
Quiz
Tutorial
Interview Q
Join
Next.js
Educational
Starter template
Server Component
Client Component
API Route
Server Action
Dynamic route
Middleware
Loading UI
Error boundary
Run
Reset
Format
Share
Download
14
Wrap
Code
Loading editor…
Expected output (static)
Item A
Item B
HTML streamed from the server.
What's happening
Runs only on the server — no useState or browser APIs here.
You can await fetch / DB directly; the result becomes HTML for the client.
Smaller client JS: interactivity is added only where you use Client Components.
Copy code
Open logic in JS playground
Educational mode — code is not executed here.
Next.js Code Examples — App Router & Server Components | Dynamic Duniya | Dynamic Duniya