'I do not understand the difference between redux and react-hook-form. What is the difference?
I do not understand the difference between redux and react-hook-form. What is the difference? (I am only somewhat aware of the fact that both are tools to manage the state of the system.)
Solution 1:[1]
redux is a library and architecture for global state management.
react-hook-form is a form-specific validation (and form control) hook.
I think that the state of the form is basically treated as "local state",
so it should be treated as something different from redux.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Rin |