StackKit

React Tutorials

8 articles

React · November 2, 2026 · 12 min read

Conditional Rendering in React

Your components will often need to display different things depending on different conditions. In React, you can conditionally render JSX using JavaScript…

React · November 2, 2026 · 17 min read

Passing Props to a React Component

React components use props to communicate with each other. Every parent component can pass some information to its child components by giving them props.…

React · November 2, 2026 · 21 min read

Rendering Lists in React and Why Keys Matter

You will often want to display multiple similar components from a collection of data. You can use the JavaScript array methods to manipulate an array of…

React · November 2, 2026 · 15 min read

Responding to Events in React

React lets you add event handlers to your JSX. Event handlers are your own functions that will be triggered in response to interactions like clicking,…

React · November 2, 2026 · 44 min read

State in React: A Component’s Memory

Components often need to change what's on the screen as a result of an interaction. Typing into the form should update the input field, clicking "next" on…

React · September 14, 2026 · 4 min read

React Context API vs Redux: when you actually need state management

A practical guide to react Context API vs Redux: when you actually need state management.

React · May 8, 2025 · 8 min read

React Performance: When and How to Use useMemo and useCallback

Stop unnecessary re-renders in React. Learn exactly when useMemo and useCallback help performance — and when they're just adding complexity.

React · April 22, 2025 · 9 min read

React Hooks Explained: A Beginner's Guide with Real Examples

Understand useState, useEffect, useRef, useContext and custom hooks with practical examples that show you exactly when and why to use each one.