javascript - React Native- How to separate a form into multiple pages submitting on the last page -
i have been trying split single page form available here , code available here under multiple pages in order learn how pass data 1 page other. learned state handling , have been attempting learn redux end.
i have split form 2 files 1 containing 2 fields , navigating 2 other file containing screen submit button , 3 other fields. main issue getting data pass first screen second send single payload on submit.
i have tried creating 2 reducers, 1 in each file, contain fields , pass on data store combining them , sending payload.
is correct ? how approach ?
Comments
Post a Comment