({children = null})
| 32 | |
| 33 | // $FlowFixMe[missing-local-annot] |
| 34 | function WarnOnUnmount({children = null}) { |
| 35 | useEffect(() => { |
| 36 | return () => { |
| 37 | console.warn('This warning fires on unmount'); |
| 38 | }; |
| 39 | }, []); |
| 40 | return children; |
| 41 | } |
| 42 | |
| 43 | // $FlowFixMe[missing-local-annot] |
| 44 | function ErrorDuringRender({children = null}) { |
nothing calls this directly
no test coverage detected