The hook can be used to get the latest value of the state without re-rendering the component.
Generated using TypeDoc
The hook can be used to get the latest value of the state without re-rendering the component.