Home > @uniformdev/context > enableContextDevTools

enableContextDevTools() function

Enables a Context instance to feed data to the Uniform Context DevTools. DevTools can be hosted either as a Chromium extension, or as a standalone React app within a page and receive data once this plugin has been activated.

Signature:

Parameters

ParameterTypeDescription
optionsContextDevToolOptions(Optional)

Returns:

ContextPlugin

Function that when invoked detaches the event listeners and disables DevTools.