import { Document , buildEmptyDocument } from '@model/document' ; import { useState } from 'react' ; remarks If you just need an initial document value, use  buildEmptyDocument instead.
 *
 *  param initialDocument public export function useDocument ( initialDocument = buildEmptyDocument ( ) ) { return useState ( initialDocument ) ; }