UNPKG

typesafe-context-hook

Version:

A react-typescript utility for creating typesafe React context hooks. It provides a function that takes a name and a hook, and returns an object with a custom hook, a provider component, and a higher-order component. The custom hook can only be used withi

2 files
../
539 B
1.38 kB