Provider

Noun · Development

Definitions

  1. A component or module that supplies a dependency, configuration, or context to its consumers. In React, a Context.Provider makes a value available to its subtree; in dependency injection frameworks like Angular or NestJS, a provider is any injectable class, factory, or value registered in the DI container.

    In plain English: A component that makes data or services available to other parts of the application that need them.

    Example: "Wrap the app in a ThemeProvider so every component can read the current theme without prop drilling."

Related Terms