use-const
v1.0.0
Published
A more efficient way to define component constants (uses a ref instead of memo)
Downloads
7
Readme
use-const
A more efficient way to define component constants (uses a ref instead of memo)
const foo = useConst(() => new Foo());