Should I use redux-form store instead of component state and Redux custom store?

后端 未结 4 948
谎友^
谎友^ 2021-01-30 18:58

I believe in any application there should be one source of truth.


My app will be having

  • 90+ transaction forms and 150 reports
  • Complex data s
4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 19:13

    If you don't need to execute async tasks i.e async form validations then it's easy to create a custom form generator component instead of using redux-form which is much complex, adds an extra layer of boilerplate & force you to use redux. For ref. check it. https://github.com/bietkul/react-native-form-builder

提交回复
热议问题