React
React is an open-source JavaScript library for building user interfaces from declarative, reusable components.
React Quickly, Second Edition
React is a JavaScript library for building user interfaces from reusable components and rendering dynamic data.
- How it is used
- Renders dynamic data in the UI layer, from isolated website widgets to single-page applications.
- How deep it goes
- Works through plain-JavaScript element creation and rendering, then sketches an incremental component-tree workflow rather than renderer internals.
- Examples
- Uses a Hello World heading and an incrementally built website menu.
- What you can do after
- Build it from scratch: render a heading with React.createElement and ReactDOM.createRoot(...).render(), then plan a menu as a component tree.
Acing the Frontend Interview
React is an open-source JavaScript library for building user interfaces from reusable components.
- How it is used
- Prepares developers to build maintainable user interfaces and articulate React’s design and performance trade-offs in frontend interviews.
- How deep it goes
- Explains components, JSX, data flow, reconciliation, Fiber, state management, lifecycle, error boundaries, and debugging tools.
- Examples
- Uses parent-child data flow, prop drilling, Context API, rendering phases, and Fiber as concrete interview scenarios and implementation examples.
- What you can do after
- Apply it via React to design component-based interfaces, manage state, explain rendering, and diagnose performance or data-flow concerns.
React Hooks in Action: With Suspense and Concurrent Mode
React is a JavaScript library for building user interfaces from declarative, composable components.
- How it is used
- Builds interactive web, desktop, smartphone, and virtual-reality interfaces from reusable components.
- How deep it goes
- Explains components, JSX, state, props, rendering, and DOM updates at a high level while deferring detailed JSX and hook behavior.
- Examples
- Uses a quiz app, TextToggle components, question-and-answer cards, cycle diagrams, and rendering-step tables.
- What you can do after
- Builds reusable interactive UI components and understands how state changes produce updated displays.
Read how React Hooks in Action: With Suspense and Concurrent Mode explains React →
D3.js in Action, Third Edition
React is a JavaScript library for building user interfaces from composable components.
- How it is used
- Deploys React to build interactive single-page visualization dashboards while integrating D3 for chart construction.
- How deep it goes
- Explains component integration through useRef(), useEffect(), props, scales, axes, and a working scatterplot, without detailing React internals.
- Examples
- Uses a frontend-framework dashboard, a retention-versus-usage scatterplot, a framework-awareness bar chart, and a D3 color scale.
- What you can do after
- Builds React visualizations that pass data through props and let D3 control selected DOM regions through refs and effects.
Coding with AI
React.js is a JavaScript library for building user interfaces from reusable components.
- How it is used
- Frames React as an alternative technical-stack choice that can be displaced by developer preferences and project context.
- How deep it goes
- Mentions React only as an excluded option and does not explain its components, rendering model, or implementation.
- Examples
- Contrasts React with Flask while selecting technologies for a HAM Radio License Practice Test Application.
- What you can do after
- Evaluate React as a stack alternative when steering an application design toward Python and Flask.
Secrets of the JavaScript Ninja, Third Edition
React is an open-source JavaScript library for building user interfaces from declarative components.
- How it is used
- Builds rich web applications by describing interface elements in JavaScript with JSX and letting React manage DOM updates.
- How deep it goes
- Traces JSX from syntax to compiled objects and virtual-DOM reconciliation without specifying the exact compiler output.
- Examples
- Demonstrates a JSX anchor, a stateful event-list component, and a counter with an increment button.
- What you can do after
- Build interactive interfaces by expressing component output in JSX and updating state to have React synchronize the DOM.
Read how Secrets of the JavaScript Ninja, Third Edition explains React →
Refactoring to Rust
React is an open-source JavaScript library for building user interfaces from reusable components.
- How it is used
- Builds web interfaces from isolated, reusable components and supports experimentation with WebAssembly.
- How deep it goes
- Demonstrates project setup, component state, list rendering, effects, and WebAssembly integration without covering deeper React internals.
- Examples
- Uses a Vite project, a stateful list component, pagination, and asynchronous paper-search results.
- What you can do after
- Builds a basic React interface with Vite and connects it to an imported WebAssembly library.
Also covered in
- React in Depth
- Web Component Development with Modern Libraries and ToolingIn early access (MEAP)
- Contract Testing in Action
- Vanilla WebIn early access (MEAP)
- Pro Angular 16
- Essential TypeScript 5, Third Edition
- Build Financial Software with Generative AI (From Scratch)
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- HTMLHTML is the standard markup language for structuring content and elements in documents on the web.
- Document Object ModelThe Document Object Model is a platform-independent programming interface that represents a document as a structured tree of nodes and provides ways to access and modify its content and structure.
- attributeAn attribute is a named property or piece of information associated with an entity, object, or structured data item.
Related concepts
- virtual DOMuses · A virtual DOM is an in-memory user-interface tree that frameworks compare or process to determine updates to the rendered DOM.
- librarykind of · A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.
- UI librarykind of · A UI library is a software library providing reusable user-interface components together with their implementation, styling, or interaction specifications.
- Web Componentsuses · Web Components are browser standards and APIs, including custom elements and shadow DOM, for creating reusable web interface elements with encapsulated structure, presentation, and behavior.
- useEffectused by · useEffect is a React Hook that runs effect logic after rendering to synchronize a component with external systems and optionally perform cleanup.
- useRefused by · useRef is a React Hook that returns a persistent mutable object whose current property can hold a value across renders without causing re-rendering when changed.
Questions about React
What is React?
React is an open-source JavaScript library for building user interfaces from declarative, reusable components.
Which Manning books explain React?
React Quickly, Second Edition, Acing the Frontend Interview, React Hooks in Action: With Suspense and Concurrent Mode, D3.js in Action, Third Edition, Coding with AI, Secrets of the JavaScript Ninja, Third Edition and Refactoring to Rust.
What should I know before learning React?
Manning books that teach React usually introduce JavaScript, HTML, Document Object Model and attribute first.
What is React a kind of?
React is a kind of library. A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.
What is React also called?
React is also called ReactJS.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.






