J
Size: a a a
J
BS
AV
BS
BS
BS
BS
J
BS
J
J
BS
J
onChange = (text, name) => this.setState({ [name]: text });тут [name] почему как массив ?
BS
Э
function* incrementPage() {
try {
yield put({
type: ActionTypes.INCREMENT_PAGE,
payload: 1,
});
} catch (e) {
console.log('error ', e);
}
}
VN
Э
export default function* root() {
yield [
// другие функции
yield takeLatest(ActionTypes.INCREMENT_PAGE, incrementPage),
yield takeLatest(ActionTypes.DECREMENT_PAGE, decrementPage),
];
}
Э
АС