# `useMap` React state hook that tracks a value of an object. ## Usage ```jsx import {useMap} from 'react-use'; const Demo = () => { const [map, {set, setAll, remove, reset}] = useMap({ hello: 'there', }); return (
{JSON.stringify(map, null, 2)}
); }; ```