Skip to content
seekho.
← Modern React, Next.js & TypeScript

Key words and examples

Every key word in this course in everyday language, and every real-world example with its picture. Use it to look things up or to revise.

🔑 Key words (31)

31 of 31 words

CI
Automated checks that run on every push.From: Shipping to Production: Performance and Deployment
Cleanup
A returned function that runs when the component disappears.From: Effects and Thinking in React
Client component
A component that also runs in the browser, for state and clicks.From: Server and Client Components
Compiler
The tool that checks your types and converts your code.From: Why TypeScript? Labels on Every Box
Component
A function that returns what should appear on the page.From: Components and Props: Lego Bricks for Your UI
Course type
The TypeScript description of one course, used everywhere.From: Final Project: Course Catalogue App
Dependency array
The array at the end of useEffect. Empty means set up once.From: Effects and Thinking in React
Directive
A marker line such as "use client" at the very top of a file.From: Server and Client Components
Dynamic segment
A folder name in square brackets that matches any value.From: Pages, Layouts and Routing with Folders
Effect
Code that runs after React has drawn the screen.From: Effects and Thinking in React
Environment variable
A setting kept outside the code, such as a secret key.From: Shipping to Production: Performance and Deployment
Framework
A ready-made structure, so you do not set up routing yourself.From: Pages, Layouts and Routing with Folders
Hook
A special React function whose name starts with use.From: State: The Component's Memory
Inference
TypeScript working out a type from the value you wrote.From: Why TypeScript? Labels on Every Box
JSX
HTML-like code written inside JavaScript.From: Components and Props: Lego Bricks for Your UI
Key
A unique label on each list item so React can track it.From: Components and Props: Lego Bricks for Your UI
Layout
The layout.tsx file: shared parts that wrap many pages.From: Pages, Layouts and Routing with Folders
Live URL
The web address where the deployed app can be opened.From: Final Project: Course Catalogue App
notFound()
The function used to show a friendly message for a missing course.From: Final Project: Course Catalogue App
Optional field
A field marked with ? that may be left out.From: Why TypeScript? Labels on Every Box
Page
The page.tsx file: what you see at one address.From: Pages, Layouts and Routing with Folders
Props
Inputs passed from a parent that customise a component.From: Components and Props: Lego Bricks for Your UI
Re-render
React drawing the component again so the screen matches.From: State: The Component's Memory
Server Action
An async function marked "use server" that runs when a form is sent.From: Server and Client Components
Server component
The default kind. It runs on the server and sends finished HTML.From: Server and Client Components
Setter
The function from useState that changes the state.From: State: The Component's Memory
State
Data inside a component that can change over time.From: State: The Component's Memory
Streaming
Sending the ready parts of a page first and the slow parts later.From: Shipping to Production: Performance and Deployment
Suspense
A wrapper that shows a fallback while a slow part loads.From: Shipping to Production: Performance and Deployment
Synchronise
Keep React in step with something outside it.From: Effects and Thinking in React
Type
A description of the shape or kind of a piece of data.From: Why TypeScript? Labels on Every Box

🏠 Real-world examples (8)

  1. Lesson 1

    Why TypeScript? Labels on Every Box

    TypeScript is JavaScript with types. A type says what kind of value belongs in a place. Your editor warns you when a value does not fit.

    📌 Types are labels that let the computer spot mistakes for you.

  2. Lesson 2

    Components and Props: Lego Bricks for Your UI

    A component is a function that returns a piece of the screen. Props are the inputs you give it. One component can show many different things.

    📌 Build small pieces, then combine them. Data flows down through props.

  3. Lesson 3

    State: The Component's Memory

    State is data that a component remembers and that can change. When you change state with its setter, React redraws the screen.

    📌 Change state with its setter, and React updates the screen for you.

  4. Lesson 4

    Effects and Thinking in React

    An effect runs code after React draws the screen. Use it only to connect with things outside React, like a timer. Calculate everything else during render.

    📌 Effects are for talking to the outside world, not for ordinary calculations.

  5. Lesson 5

    Pages, Layouts and Routing with Folders

    In the Next.js App Router, each folder becomes part of a web address. A page.tsx file is the screen. A layout.tsx file wraps the pages.

    📌 Folders are addresses. Layouts are shared parts. Pages are the screens.

  6. Lesson 6

    Server and Client Components

    Next.js components run on the server by default. They send finished HTML to the browser. Add "use client" only to parts that need clicks or state.

    📌 Do most work on the server. Use the client only for the interactive parts.

  7. Lesson 7

    Shipping to Production: Performance and Deployment

    Before release, make the app fast and safe. Show the page at once and let slow parts load after. Run checks on every push, then deploy from Git.

    📌 Show something useful at once, and load the rest as it is ready.

  8. Lesson 8

    Final Project: Course Catalogue App

    You build a small course catalogue with Next.js, React and TypeScript. It has a list page, a page for each course, a search box and a live address.

    📌 Types everywhere, server by default, small client parts, then deploy.