title: How to use redux to only get back a value without managing state
body: <p>I'm using the dispatch method of redux to do side effects and then get back a value. I'm not interested in managing state in this case. How can I get back a value from dispatch function?</p>
  
  <p>My code in component:</p>
  
  <pre><code>useEffect(() =&gt; {
      try {
          const a = dispatch(
              expensesActions.getExpenseList()
          )
          console.log("return value", a)
      } catch (err) {
          setError(err.message)
      }
    }, [dispatch]);
  </code></pre>
  
  <p>I'm trying to use a for the return value but upon console.log this is what I get:</p>
  
  <pre><code>Promise {
    "_40": 0,
    "_55": null,
    "_65": 0,
    "_72": null,
  }
  </code></pre>
  
  <p>And my very simple code in my action:</p>
  
  <pre><code>export const getExpenseList = () =&gt; {
      return async (dispatch, getState) =&gt; {
          return "HELLO"
      }
  }
  </code></pre>
  
  <p>I want to get back the value "HELLO" where I dispatch it, is it possible?</p>