Gov. Kathy Hochul signed the country's first "right-to-repair" law for electronic devices, requiring manufacturers such as Apple and Microsoft to provide manuals and parts to local repair shops in New York, her office said Thursday.