# Function useFiveState

- useFiveState(): [
  state: State,
  setState: (
  state: Partial<State> | ((prevState: State) => Partial<State>),
  immediately?: boolean,
  userAction?: boolean,
  ) => void,
  ]

  #### Returns [
  state: State,
  setState: (
  state: Partial<State> | ((prevState: State) => Partial<State>),
  immediately?: boolean,
  userAction?: boolean,
  ) => void,
  ]

  - Defined in lib/react/hooks/useFiveState.ts:19