Often in the interview questions it is heard that Why one should use redux form in the ReactJs instead of simple form. which extra ordinary facilities it provides to the developer ? Then what should be proper answer for this.
Now that is known why to keep the form data in the state and you reason if that makes sense for your application we can come back to our main subject. Given that the application uses React and Redux there are two main options:
Redux-Form is a great option to do that job to you. It keeps track of all common application form state such as:
When writing a Redux application, we should keep all the data that matters to the application in the in the application state as long as it makes sense. But the point is, reason about what make more sense for your application and pick your choice.
Inspired by: Guilherme Gonçalves