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

1.2 kB
No preview is available for this file.