()
| 151 | let currentThenableState: null | Array<Thenable<mixed>> = null; |
| 152 | |
| 153 | function nextHook(): null | Hook { |
| 154 | const hook = currentHook; |
| 155 | if (hook !== null) { |
| 156 | currentHook = hook.next; |
| 157 | } |
| 158 | return hook; |
| 159 | } |
| 160 | |
| 161 | function readContext<T>(context: ReactContext<T>): T { |
| 162 | if (currentFiber === null) { |
no outgoing calls
no test coverage detected