Skip to content

Latest commit

 

History

History

cloneHook

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
function cloneHook(hook) {
  return {
    memoizedState: hook.memoizedState,
    baseState: hook.baseState,
    queue: hook.queue,
    baseUpdate: hook.baseUpdate,
    next: null
  }
}