(nextCreate, deps)
| 15572 | } |
| 15573 | |
| 15574 | function mountMemo(nextCreate, deps) { |
| 15575 | var hook = mountWorkInProgressHook(); |
| 15576 | var nextDeps = deps === undefined ? null : deps; |
| 15577 | var nextValue = nextCreate(); |
| 15578 | hook.memoizedState = [nextValue, nextDeps]; |
| 15579 | return nextValue; |
| 15580 | } |
| 15581 | |
| 15582 | function updateMemo(nextCreate, deps) { |
| 15583 | var hook = updateWorkInProgressHook(); |
no test coverage detected