Function useForceUpdate

A custom hook that returns a function for force updating a component.

  • Returns (() => void)

    The function to be used for force updating.

      • (): void
      • Returns void