(formFiber, pendingState, action, formData)
| 8052 | } |
| 8053 | function noop$2() {} |
| 8054 | function startHostTransition(formFiber, pendingState, action, formData) { |
| 8055 | if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476)); |
| 8056 | var queue = ensureFormComponentIsStateful(formFiber).queue; |
| 8057 | startTransition( |
| 8058 | formFiber, |
| 8059 | queue, |
| 8060 | pendingState, |
| 8061 | sharedNotPendingObject, |
| 8062 | null === action |
| 8063 | ? noop$2 |
| 8064 | : function () { |
| 8065 | requestFormReset$1(formFiber); |
| 8066 | return action(formData); |
| 8067 | } |
| 8068 | ); |
| 8069 | } |
| 8070 | function ensureFormComponentIsStateful(formFiber) { |
| 8071 | var existingStateHook = formFiber.memoizedState; |
| 8072 | if (null !== existingStateHook) return existingStateHook; |
no test coverage detected
searching dependent graphs…