課題 redux-saga でテキストボックスなどの値が変更されるたびにバリデーションを実行したい時、アクションが発行されすぎて入力がガックガクになってしまうことがありますよね。 (止まっているように見えますがgifアニメです) コードはこんな感じです。 import { all, takeLatest, select, call, put } from 'redux-saga/effects' export function* validateProduct(key) { const product = yield select(productSelector) const messages = yield call(productValidator, product, key) // バリデーションして yield put(finishValidate(key, messages))