import { PropsWithChildren, useState } from 'react' function Toggler({ children }: PropsWithChildren<{}>) { const [showChildren, setShowChildren] = useState(true) return (

You can open the Network tab in your browser Dev Tools and see new requests being made depending on the caching algorithm as you unmount the component with the fingerprint and mount it again thus calling the useVisitorData hook.

{showChildren && children}
) } export default Toggler