# provide_context

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/reactive/function-provide_context/

**function** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
fn provide_context<T: Clone + 'static>(value: T)
```

Provides `value` to what the current owner owns (see
`Owner::provide_context`). In the render of a component that runs again
it is provided to the component, so that its children find it. Without an
owner it does nothing.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/reactive.rs#L692)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
