title: Listen certain redux action in components
body: <p>Is there any way to listen certain action in component using <code>redux-thunk</code> middleware ? or do i really need to use <code>redux-saga</code> or <code>redux-observable</code> something to achieve this?</p>
  <p>Here is my redux-thunk async action , i just simply want to close the dialog after <code>TICKET_CREATE_SUCCESS</code> action dispatched</p>
  <pre><code>export const createTicketEffects = (ticket: Ticket): ThunkAction&lt;void, RootState, unknown, Action&lt;string&gt;&gt; =&gt; {
      return async (dispatch: ThunkDispatch&lt;{}, {}, AnyAction&gt;) =&gt; {
          dispatch(TicketActions.createTicket(ticket));
          return await TicketService.create(ticket)
              .then(({ data }) =&gt; {
                  dispatch(TicketActions.createTicketSuccess(data.data, data.message));
              })
              .catch((error) =&gt; dispatch(TicketActions.createTicketError(error)));
      };
  };
  </code></pre>
  <p>Thanks</p>