title: How can I stop the dispatch request action?
body: <p>i'm using react-native with redux-saga</p>
  <p>I am dispatching a FLFOOD_UP_REQUEST by using useEffect in the initial rendering on the FollowFood page.</p>
  <p>However, if I go back to another page before it becomes FLFOOD_UP_SUCCESS, FLFOOD_UP_REQUEST does not stop and it becomes FLFOOD_UP_SUCCESS later, causing an error. If FLFOOD_UP_REQUEST is executed and moves to another page, then FLFOOD_UP_SUCCESS succeeds and the page screen is not shown.</p>
  <p>Therefore, what I want to do is that even if FLFOOD_UP_REQUEST is executed due to useEffect, if I move another page before FLFOOD_UP_SUCCESS, FLFOOD_UP_REQUEST will stop and I hope that FLFOOD_UP_SUCCESS will not be executed.</p>
  <p>this is my code</p>
  <p>(FollowFood.js)</p>
  <pre><code>    const FollowFood = () =&gt; {
        useEffect(() =&gt; {
          dispatch({
            type: FLFOOD_UP_REQUEST,
          });
        }, []);
  
        return (
          &lt;&gt;
            &lt;FlatList
              keyExtractor={(item) =&gt; String(item.id)}
              onEndReached={() =&gt; {
                EndReached();
              }}
              onEndReachedThreshold={2}
              refreshing={loading}
              renderItem={({item}) =&gt; (
                &lt;ImageContainer&gt;
                  &lt;CardFollow item={item} Follow={Follow} /&gt;
                &lt;/ImageContainer&gt;
              )}
              ListEmptyComponent={&lt;LoadingFood label={'no.'} /&gt;}
            /&gt;
          &lt;/&gt;
        );
      };
  
      export default FollowFood;
  </code></pre>
  <p>(saga.js)</p>
  <pre><code>    function* flfoodPost(action) {
        try {
          const result = yield call(flfoodUpAPI, action.data);
          yield put({
            type: FLFOOD_UP_SUCCESS,
            data: result.data,
          });
        } catch (err) {
            yield put({
              type: FLFOOD_UP_FAILURE,
              error: err.response.data,
            });
          }
        }
  </code></pre>