Context object
A context object is a structured value carrying configuration, state, credentials, or other information available to a computation within a defined scope.
React in Depth
Machine context is the state-machine data container that holds information shared across the overall flow and manipulated during transitions.
- How it is used
- Uses shared contextual data to coordinate business state across a state-machine flow and its transitions.
- How deep it goes
- Explains flow-wide storage, transition actions, selectors, and persistence, while stopping short of general state-machine internals.
- Examples
- Demonstrates lists, current selections, item actions, selector hooks, and persisted XState machine state.
- What you can do after
- Build it from scratch with XState context, assign actions, React providers, selector hooks, and event-sending hooks.
Pro Angular 16
A context object is an object whose properties provide values available to bindings in an instantiated Angular template.
- How it is used
- Supplies reusable Angular templates and structural directives with values consumed by their bindings.
- How deep it goes
- Explains property mapping, $implicit values, and iteration metadata through working template and directive examples.
- Examples
- Uses reusable Header and Footer headings plus a product iterator with implicit items, indexes, and striped rows.
- What you can do after
- Build reusable templates and custom structural directives that render data-dependent content through named and implicit values.
Related concepts
- createContextproduced by · createContext is a library API function that creates a context object for providing and reading shared values among components.
- attributehas part · An attribute is a named property, value, or piece of information associated with an entity, object, or program element.
- storage accountuses · A storage account is a top-level Azure resource that provides a namespace, access boundary, and configuration for storage services and their data.
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.

