/** * Hook for managing object state with partial updates * * @template T - The type of the state object * @param initialState - Initial state object or function that returns state * @returns Tuple of [state, setState] where setState accepts partial updates * * @example * ```tsx * const UserForm = () => { * const [user, setUser] = useSetState({ name: '', email: '' }); * return ( *