Flashes Home Search Notifications Sign in Post
@reactpractice.dev @reactpractice.dev · Feb 26

How do you type a custom hooks that accepts a generic data type? When using an arrow function, you can add `<T>` at the beginning of the function:

1 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store