()
| 34 | } |
| 35 | |
| 36 | async componentDidMount() { |
| 37 | const { shouldLoad } = this.props; |
| 38 | if (shouldLoad) { |
| 39 | await this.loadComponent(); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | async componentDidUpdate( |
| 44 | prevProps: Readonly<PC & T & { shouldLoad: boolean }>, |
nothing calls this directly
no test coverage detected