({children = null})
| 11 | |
| 12 | // $FlowFixMe[missing-local-annot] |
| 13 | function WarnOnMount({children = null}) { |
| 14 | useEffect(() => { |
| 15 | console.warn('This warning fires on initial mount only'); |
| 16 | }, []); |
| 17 | return children; |
| 18 | } |
| 19 | |
| 20 | // $FlowFixMe[missing-local-annot] |
| 21 | function WarnOnUpdate({children = null}) { |
nothing calls this directly
no test coverage detected