React Fundamentals
Learn React with TypeScript from the start: components, props, state, effects, lists and forms, then rebuild Tally's interface in React from your typed Course 8 modules.
Modules
7
Lessons
36
Level
Intermediate
Project
Reviewed by a mentor
About This Course
As interfaces grow, updating the page by hand becomes slow and error-prone. React lets you describe what the screen should look like for a given state and takes care of updating it. You learn React with TypeScript from the start: components, JSX and props, state and events, effects, lists and forms, and how to keep a growing app organised. The course project rebuilds Tally's interface in React from the typed modules you wrote in Course 8: a transaction list, an add-transaction form, category filters and a monthly budget summary, saved to localStorage and broken into well-named components.
You'll Be Able To
- Break an interface into a tree of components and explain the data flow between them
- Write components in JSX and TypeScript that accept typed props
- Manage changing data with state and respond to user events
- Use effects to load and save data, and know when not to use them
- Build forms and lists in React and keep a growing app organised
What's Inside
- 1
Thinking in components
5 lessons
See why React draws the screen from your data, create a React and TypeScript project with Vite, write your first components and break Tally's screen into a component tree.
- 2
JSX and props
5 lessons
Write JSX and fill it with values, pass typed props into components using Tally's Transaction and Category types, and compose cards and pages from small parts with children.
- 3
State and events
6 lessons
Make components respond to clicks and typing, remember data with useState, update lists without mutating them and share state through a parent, then build a budget counter.
- 4
Effects and data
5 lessons
Use effects to keep React in step with the world outside it: timers, listeners, fetch and localStorage, with proper cleanup, and learn when a calculation, a key or a handler is better.
- 5
Lists and forms
5 lessons
Render Tally's transactions as lists with stable keys, show the right content for each state, and build a controlled add-transaction form with validation and accessible error messages.
- 6
Organising a React app
5 lessons
Organise a growing React app: folders and file names, custom hooks, a typed reducer for Tally's transactions, context to share them, and debugging with React Developer Tools.
- 7
Building Tally in React
5 lessons
Rebuild Tally's interface in React on the real repository: the transaction list, a validated form, category filters and the budget summary, saved to localStorage and delivered as pull requests.