Skip to content

Lesson 5#50

Open
svoronuk wants to merge 2 commits intoromabelka:masterfrom
svoronuk:lesson-5
Open

Lesson 5#50
svoronuk wants to merge 2 commits intoromabelka:masterfrom
svoronuk:lesson-5

Conversation

@svoronuk
Copy link
Copy Markdown

@svoronuk svoronuk commented Dec 5, 2018

No description provided.

import React, { Component } from 'react'
import { DropTarget } from 'react-dnd'
import { connect } from 'react-redux'
import { Motion, spring } from 'react-motion'
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Так ты не сможешь удаление анимировать, по сути, этот компонент умрет вместе с тем, который он должен был бы анимировать

Comment thread src/ducks/auth.js
const user = yield call(api.signUp, email, password)
const channel = yield call(createSignUpChannel, email, password)

const user = yield take(channel)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Зачем ты в двух сагах это слушаешь? А еще можно если нет user - SIGN_OUT

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