( store: Store<State>, )
| 5 | import {deprecate} from './deprecate' |
| 6 | |
| 7 | export function createStoreConsumer<State>( |
| 8 | store: Store<State>, |
| 9 | ): StoreConsumer<State> { |
| 10 | deprecate('createStoreConsumer', 'useUnit') |
| 11 | return createComponent(store, ({children}, state) => children(state)) |
| 12 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…