()
| 60 | ); |
| 61 | |
| 62 | const Aaa = () => { |
| 63 | const { aaa, setAaa } = useContext(aaaContext); |
| 64 | |
| 65 | console.log('Aaa render...') |
| 66 | |
| 67 | return <div> |
| 68 | aaa: {aaa} |
| 69 | <button onClick={() => setAaa(aaa + 1)}>加一</button> |
| 70 | </div>; |
| 71 | }; |
| 72 | |
| 73 | const Bbb = () => { |
| 74 | const { bbb, setBbb } = useContext(bbbContext); |
nothing calls this directly
no outgoing calls
no test coverage detected