redfin / react-server

:rocket: Blazing fast page load and seamless navigation.
https://react-server.io/
Apache License 2.0
3.89k stars 184 forks source link

ReactServerAgent only suited for use in pages? #984

Open gpolyn opened 6 years ago

gpolyn commented 6 years ago

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.