()
| 22 | concurrentMode: true, |
| 23 | }); |
| 24 | const Counter = () => { |
| 25 | const [state, dispatch] = useTracked(); |
| 26 | return ( |
| 27 | <div> |
| 28 | <span>{state.count1}</span> |
| 29 | <button type="button" onClick={() => dispatch({ type: 'increment' })}> |
| 30 | +1 |
| 31 | </button> |
| 32 | </div> |
| 33 | ); |
| 34 | }; |
| 35 | const App = () => ( |
| 36 | <StrictMode> |
| 37 | <Provider> |
nothing calls this directly
no test coverage detected
searching dependent graphs…