usehooks
usehooks copied to clipboard
Update useMap Typing
This PR updates the type signature of the useMap function to improve type safety as reference in #278 By specifying separate generic types for keys and values (K and V), we ensure that the useMap hook is more accurately typed