I appreciate the bikeshare example, but what if we need to interact with an HTTP API away from handleRoute or the page lifecycle? I'd like to make fine-grained API calls based on component events, eg., using redux-thunk, but my attempt at integrating that capability away from a page, but in a connect component, instead, is not succeeding.
I appreciate the bikeshare example, but what if we need to interact with an HTTP API away from
handleRoute
or the page lifecycle? I'd like to make fine-grained API calls based on component events, eg., usingredux-thunk
, but my attempt at integrating that capability away from a page, but in a connect component, instead, is not succeeding.