title: Infinite loop in Redux Saga
body: <p>I see many questions about this but nothing from answers helps me to solve it. I wanted to see how <code>saga</code> works since I haven't worked with it.</p>
  
  <p>Here is the code </p>
  
  <pre><code>export function* fetchItems() {
    try {
      yield put({ type: ITEMS_FETCH_REQUEST })
      const response = yield call(fetch, 'https://jsonplaceholder.typicode.com/users');
      const data = response.json();
      yield put({ type: ITEMS_FETCH_SUCCESS, payload: { items: data } })
    } catch (error) {
      yield put({ type: ITEMS_FETCH_FAILURE, payload: { error: error.message }})
    }
  }
  </code></pre>
  
  <p>It calls an infinite loop, I tried a lot of things but nothing helps.</p>
  
  <p>What am I doing wrong here ?</p>