Returns the FingerprintClient from the nearest FingerprintProvider.
Use this when you need the imperative client from inside the React tree (e.g. in an event handler or effect) but do not want the query-state management of useVisitorData.
const fp = useFingerprint()useEffect(() => { fp.get({ linkedId: 'user_1234' }).then(setResult)}, [fp]) Copy
const fp = useFingerprint()useEffect(() => { fp.get({ linkedId: 'user_1234' }).then(setResult)}, [fp])
Returns the FingerprintClient from the nearest FingerprintProvider.
Use this when you need the imperative client from inside the React tree (e.g. in an event handler or effect) but do not want the query-state management of useVisitorData.