({children = null})
| 48 | |
| 49 | // $FlowFixMe[missing-local-annot] |
| 50 | function ErrorOnMount({children = null}) { |
| 51 | useEffect(() => { |
| 52 | console.error('This error fires on initial mount only'); |
| 53 | }, []); |
| 54 | return children; |
| 55 | } |
| 56 | |
| 57 | // $FlowFixMe[missing-local-annot] |
| 58 | function ErrorOnUpdate({children = null}) { |