()
| 126 | let patched = false |
| 127 | ;(instance.bu || (instance.bu = [])).push(() => (patched = true)) |
| 128 | const performHydrate = () => { |
| 129 | // skip hydration if the component has been patched |
| 130 | if (patched) { |
| 131 | if (__DEV__) { |
| 132 | warn( |
| 133 | `Skipping lazy hydration for component '${getComponentName(resolvedComp!) || resolvedComp!.__file}': ` + |
| 134 | `it was updated before lazy hydration performed.`, |
| 135 | ) |
| 136 | } |
| 137 | return |
| 138 | } |
| 139 | hydrate() |
| 140 | } |
| 141 | const doHydrate = hydrateStrategy |
| 142 | ? () => { |
| 143 | const teardown = hydrateStrategy(performHydrate, cb => |
nothing calls this directly
no test coverage detected