# Function useFiveCurrentState

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

  Five React Hooks: Five 的实时状态

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

  [ currentState: Five 的实时状态, setState: 设置 Five 的状态 ]

  #### Example

      const [ currentState, setState ] = useFiveCurrentState;

  - Defined in lib/react/hooks/useFiveCurrentState.ts:14