reactjs - Redux-forms list to display many and redux form to edit one record. My design issue -


i have react redux component list multiple records in list, users can click on item. state maintained in redux array of objects. when user click on item selected , state maintained record (keep track of) selected item. list can refreshed latest data, , items can deleted list. far good. edit 1 item in list have redux-forms. issue form maintains own slice of state [when see state, see 2 slices 1 list , form.] there not single source of information item being edited. on list , on form slice. if update field in form, not show updated item in list. can hack -update code, etc , make [that avoid], see design issue? how design in better way?

regards!

how design store, when store needs populate list (using plain react-redux) , edit 1 item in list using forms (redux-forms) without duplicating same data in store?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -