Posts tagged with #beginners

Controlled Inputs and Forms in React

Learn to control form values with React state, type change and submit events, show validation feedback, and handle form data safely with TypeScript.

React Event Handling and Event Types

Learn to type React click, change, and form handlers in TypeScript, pass callbacks through props, and validate user input safely with clear examples.

JSX and the React Render Tree

Learn how JSX expressions, fragments, and React elements describe a UI, then follow that description through rendering with practical examples and pitfalls.

React Props, Children, and Component Composition

Learn to pass data and callbacks through React props, use children for flexible layouts, and compose small components without building giant prop APIs.

React Custom Hooks for Reusable Stateful Logic

Learn how React custom hooks reuse stateful logic, follow use* naming and call rules, type inputs and results, and keep each call's state independent.

React Router Fundamentals: Routes, Links, and Params

Learn how React Router matches URLs to screens, navigates with links, reads dynamic parameters, and organizes shared layouts and route loading states.

Sharing State and Lifting State Up in React

Learn when sibling React components need shared state, how to lift it to their nearest common owner, and why local state often beats global state.

Type Inference and Annotations in TypeScript

Learn how TypeScript infers values and when annotations help in React props and event handlers, with practical examples, pitfalls, and runtime safety notes.