How to save the state of the input box in dvajs

now it is recommended to write stateless components, so the question is, how to collect the status values in the input box and pass them to the backend?
although the callback of the Form component can get the final values, it is limited to the form.
now has a rich text editor that is a component, followed by a pop-up component that needs to collect the values of both components.
if you want to collect the state of several components and pass it to the backend, is it possible to dispatch each reducer, to save the state to redux?

Mar.30,2021

the Form you mentioned is a kind of. Another common way of
is to put the value of input into state of dva (that is, redux ), and take it directly from state .

<input value={this.props.obj.input} onChange={e => dispatch({type: 'namespace/setState', payload: {obj: {input: e.target.value}}})} />

that is, take input as a controlled component!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32fbc-2be64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32fbc-2be64.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?