Components
Dev Tool
A powerful set of developer tools for monitoring and debugging Koroflow consent state
Loading...
Features
- 🔍 Real-time consent state monitoring
- 🐞 Easy debugging of consent-related issues
- 📊 Visual representation of current consent status
- 🔗 Seamless integration with Koroflow consent management system
- 🎨 Customizable UI to match your development environment
Installation
Usage
- Wrap your application with the
KoroflowDevTool
component:
API Reference
KoroflowDevTool
Prop | Type | Default |
---|---|---|
namespace | string | KoroflowStore |
getStore
A hook for accessing the current consent state.
Returns:
PrivacyConsentState
: The current consent state object.
Troubleshooting
- Make sure the
KoroflowDevTool
component is properly wrapped around your application. - Verify that the
namespace
prop matches the namespace used in your Koroflow setup. - Check the browser console for any error messages related to the dev tools.
Best Practices
- Use the dev tools only during development and testing.
- Remove the
KoroflowDevTool
component before deploying to production. - Be mindful of sensitive data that may be exposed in the consent state.
- Use the consent state information to debug and optimize your consent management flow.