← Back to Blog
Getting Started with Next.js
2026-03-05
Next.js has revolutionized how we build React applications. Here's why it's my go-to framework:
Performance
Server components, optimised images, and code splitting out of the box.
Developer Experience
File-based routing, API routes, and built-in CSS support.
Deployment
Seamless integration with Vercel makes going live trivial.
Code Example
Here's a simple React component:
export default function HelloWorld() {
return (
<div className="container">
<h1>Hello, World!</h1>
<p>Welcome to Next.js with TypeScript</p>
</div>
);
}You can also use server components for data fetching:
import { fetchUser } from "@/lib/api";
export default async function UserProfile({ userId }: { userId: string }) {
const user = await fetchUser(userId);
return (
<div>
<h1>{user.name}</h1>
<p>{user.bio}</p>
</div>
);
}That's it! More posts coming soon!