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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
options
</td><td>
</td><td>
(Optional)
</td></tr> </tbody></table> Returns:
Function that when invoked detaches the event listeners and disables DevTools.