usehooks icon indicating copy to clipboard operation
usehooks copied to clipboard

Fix useObjectState typing

Open leonardobazico opened this issue 11 months ago • 1 comments

useObjectState accepts a partial object to update a property state, but the type definition was expecting the whole object to be updated.

leonardobazico avatar Mar 06 '24 18:03 leonardobazico

This is turbo annoying that this bug exist. Tried to use hook today, but left it for simple useState, just because this TS error.

karolfalkiewicz-dss avatar Jul 15 '24 18:07 karolfalkiewicz-dss