erikras / erikras/react-redux-universal-hot-example
Should forms be separated into a container and a dumb component?
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I'd propose that https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/components/SurveyForm/SurveyForm.js should be split into a container and a dumb form component. The container would connect to the redux-form store and contain the validation and submit functionality. It should only pass its props to the dumb form component. @erikras are you on board with a change like this? If so I could send a PR for that.
Contributor guide
Assessment
This issue has not been assessed yet.