Hook to get the CDP being used by the SDK.
function App() { const { config } = useConfig(); return ( <div> <p>Project ID: {config.projectId}</p> </div> );} Copy
function App() { const { config } = useConfig(); return ( <div> <p>Project ID: {config.projectId}</p> </div> );}
Hook to get the CDP being used by the SDK.