()
| 12 | let Counter = createContainer(useCounter) |
| 13 | |
| 14 | function CounterDisplay() { |
| 15 | let counter = Counter.useContainer() |
| 16 | return ( |
| 17 | <> |
| 18 | <button onClick={counter.decrement}>-</button> |
| 19 | <span>{counter.count}</span> |
| 20 | <button onClick={counter.increment}>+</button> |
| 21 | </> |
| 22 | ) |
| 23 | } |
| 24 | |
| 25 | function App() { |
| 26 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…