()
| 292 | return actionStateCounter; |
| 293 | } |
| 294 | export function getActionStateMatchingIndex(): number { |
| 295 | // This should be called immediately after every finishHooks call. |
| 296 | // Conceptually, it's part of the return value of finishHooks; it's only a |
| 297 | // separate function to avoid using an array tuple. |
| 298 | return actionStateMatchingIndex; |
| 299 | } |
| 300 | |
| 301 | // Reset the internal hooks state if an error occurs while rendering a component |
| 302 | export function resetHooksState(): void { |
no outgoing calls
no test coverage detected