(initialValue)
| 15408 | } |
| 15409 | |
| 15410 | function mountRef(initialValue) { |
| 15411 | var hook = mountWorkInProgressHook(); |
| 15412 | var ref = { |
| 15413 | current: initialValue |
| 15414 | }; |
| 15415 | |
| 15416 | { |
| 15417 | Object.seal(ref); |
| 15418 | } |
| 15419 | |
| 15420 | hook.memoizedState = ref; |
| 15421 | return ref; |
| 15422 | } |
| 15423 | |
| 15424 | function updateRef(initialValue) { |
| 15425 | var hook = updateWorkInProgressHook(); |
no test coverage detected