Skip to content

Documentation / @andrew_l/context / provide

Function: provide() ​

provide(key, value, enterWith?): void

To provide data to a descendants

Parameters ​

key ​

ProvideKey

value ​

any

enterWith? ​

boolean

Enter into injection context (Experimental)

Returns ​

void