GuideBeginner

React Fundamentals

Learn React's mental model: building interfaces as a function of state. The guide covers thinking in components and composition, JSX and rendering (including lists and why `key` matters), state with `useState` — and why it's a snapshot per render, not a value that updates instantly — events and handlers, derived versus stored state, effects for syncing with external systems, and how to lift shared state up to the common ancestor. The core idea is that the UI is a function of state: you describe what it looks like for a given state, and React handles updating the DOM when that state changes. Each module runs the pure logic behind React in Node.js — derived filtering and sorting, the cart reducer, a mini render-to-string, the render-commit-effect order — to verify the reasoning without depending on a browser. The throughline is Mercado's storefront: you break it down into components, add search with derived state, a cart with lifted state and a reducer, and an effect that loads the products. It's the core of NIEVA's Fullstack ecosystem, building on the HTML and CSS foundation.

64
lessons
8
modules
English · Spanish
available in
Yes
certificate
Free
access
NIEVA

Outcomes

What you'll be able to do

  • Break an interface down into components and compose them, with props flowing downward
  • Write real JSX: expressions, attributes, conditional rendering, lists with `map`, and why `key` matters (stable identity, not the index)
  • Manage local state with `useState` and understand why state is a snapshot of the render, not a value that updates instantly
  • Respond to events (`onClick`, `onChange`) and pass data upward with callbacks
  • Derive state instead of storing it: compute filtering and sorting on each render instead of syncing them by hand
  • Sync with external systems using `useEffect`: the dependency array, cleanup, and when NOT to use an effect
  • Lift shared state up to the common ancestor and prefer composition over prop drilling
  • Build Mercado's full storefront: a product list with search, a cart with a reducer, and state lifted into the root component

Before you start

What you need to bring

It's for you if...

  • Developers with solid JavaScript who want to learn React from the correct mental model, not by memorizing loose hooks
  • Those coming from HTML and CSS looking for the natural next step toward interactive interfaces
  • Devs who already "use" React but don't understand why it re-renders, why lists need `key`, or why derived state shouldn't be stored
  • Those preparing for Next.js, global state, or design systems who need the component fundamentals first

Requirements and materials

  • Comfortable with JavaScript ES6+ (functions, arrays, destructuring, modules)
  • Basic HTML and CSS, or having completed the Web Fundamentals: HTML and CSS Guide
  • Node.js installed to run each module's pure logic
  • No prior React knowledge required

Content

The syllabus, module by module

Open any of them to see its lessons.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!