()
| 15056 | } |
| 15057 | |
| 15058 | function mountWorkInProgressHook() { |
| 15059 | var hook = { |
| 15060 | memoizedState: null, |
| 15061 | baseState: null, |
| 15062 | baseQueue: null, |
| 15063 | queue: null, |
| 15064 | next: null |
| 15065 | }; |
| 15066 | |
| 15067 | if (workInProgressHook === null) { |
| 15068 | // This is the first hook in the list |
| 15069 | currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook; |
| 15070 | } else { |
| 15071 | // Append to the end of the list |
| 15072 | workInProgressHook = workInProgressHook.next = hook; |
| 15073 | } |
| 15074 | |
| 15075 | return workInProgressHook; |
| 15076 | } |
| 15077 | |
| 15078 | function updateWorkInProgressHook() { |
| 15079 | // This function is used both for updates and for re-renders triggered by a |
no outgoing calls
no test coverage detected