const injectUseTrait: ( hooks: UseHooks, ) => <A, B>(props: A, t: Trait<A, B>) => B
useTrait() implementation. (Live/React polyglot) *
packages / traits / src / useTrait.ts