Wrapping React.useState with TypeScript
How to make a custom hook that wraps useState with TypeScript properly
Sources
- T2Wrapping React.useState with TypeScriptMartin Fowler / Overreacted / Kent C. Dodds / Josh Comeau
How to make a custom hook that wraps useState with TypeScript properly