Skip to content

Conversation

@kaflan
Copy link

@kaflan kaflan commented Sep 3, 2017

No description provided.

Copy link
Owner

@romabelka romabelka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хорошо, но тесты можно писать не только на саги. Еще я не понял зачем ты переписал PeopleForm


class PeopleForm extends Component {
render() {
const { handleSubmit, submitting, reset } = this.props;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Возможно у тебя у тебя какие-то особые соображения, поделись. Но вся суть в том, что ты можешь ресетить как часть декларативной логики, при успешном сабмите, а не по клику

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ясно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants