# `useGeolocation` React sensor hook that tracks user's geographic location. ## Usage ```jsx import {useGeolocation} from 'react-use'; const Demo = () => { const state = useGeolocation(); return (
      {JSON.stringify(state, null, 2)}
    
); }; ```