use-validated-state
Validate state and get last valid value
Import
Source
Docs
Package
Usage
Hook validates state with a given rule each time state is set. It returns an object with current validation state, last valid value and current value:
Definition
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback