Andrés Mijares
1 min readJun 29, 2017

--

oh! I just saw the issue :), do this, in the rootSaga, instead of `takeLatest(QUERY_SCHOOL_YEARS, querySchoolYearsSaga)`

use `fork(querySchoolYearsSaga)`

uncomment the take action on your saga, and it should work only after you dispatch the action :).

The thing is that you were expecting one action on the takeLatests, and after that action you are also expecting another action… so it was kind of confusing… I rather the fork + take pattern instead.

Best of luck!

--

--

Andrés Mijares
Andrés Mijares

Written by Andrés Mijares

yep.. i’m an asshole🤷🏻‍♂️

Responses (2)