Prochain événement : cours découverte - le 9 juin de 19h à 20hProchain événement : cours découverte - le 9 juin de 19h à 20h
Bloc Spot
SalleÉcoleFalaiseEntreprisesAgendaTarifsMerchÀ proposContact
Y aller
Agenda
SalleÉcoleFalaiseEntreprises
TarifsMerchÀ proposContact
Y aller
SalleÉcoleFalaiseEntreprisesAgendaTarifsMerchÀ proposContact
Back to Blog
Getting Started with Next.js 15
January 15, 20251 min read

Getting Started with Next.js 15

Learn how to build modern web applications with Next.js 15, the React framework for production.

TutorialNext.js

Next.js 15 brings exciting new features that make building web applications easier than ever. In this guide, we'll explore the key concepts you need to know.

Why Next.js?

Next.js provides a great developer experience with features like:

  • Server Components - Render components on the server for better performance
  • App Router - A new routing system based on React Server Components
  • Built-in Optimizations - Automatic image, font, and script optimization

Getting Started

First, create a new Next.js project:

npx create-next-app@latest my-app
cd my-app
npm run dev

Creating Your First Page

In Next.js 15, pages are created in the app directory:

// app/page.tsx
export default function HomePage() {
  return (
    <main>
      <h1>Welcome to my app!</h1>
    </main>
  );
}

Server vs Client Components

By default, all components in the app directory are Server Components. To use client-side features, add the "use client" directive:

"use client";

import { useState } from "react";

export function Counter() {
  const [count, setCount] = useState(0);
  return <button onClick={() => setCount(count + 1)}>Count: {count}</button>;
}

What's Next?

Now that you understand the basics, explore more advanced topics like data fetching, authentication, and deployment.

Bloc SpotBloc Spot

Salle d'escalade de bloc à Angoulême. 800 m², 190 voies, ouverte 7j/7 dès 4 ans.

★Laisser un avis Google
Activités
La salle d'escaladeÉcole d'escaladeFalaise avec BrunoAgenda & événementsTeam buildingAnniversaires
Infos
Tarifs & abonnementsMerch & producteurs locauxÀ proposInfos pratiques
Nous trouver
144 Route de Vars
16160 Gond-Pontouvre
Horaires
Lun – Ven9h – 23h
Sam – Dim9h – 21h
07 49 39 93 43blocspot.16@gmail.com
© 2026 Bloc Spot — OSPOT AngoulêmeMentions légalesConfidentialitéCGV
Codé avec cœur parSocial Sphère