()
| 22 | }); |
| 23 | |
| 24 | const Counter = () => { |
| 25 | const count = useSelector(store, (s) => s.context.count); |
| 26 | return ( |
| 27 | <div data-testid="count" onClick={() => store.send({ type: 'inc' })}> |
| 28 | {count} |
| 29 | </div> |
| 30 | ); |
| 31 | }; |
| 32 | |
| 33 | render(<Counter />); |
| 34 |
nothing calls this directly
no test coverage detected
searching dependent graphs…