You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is batching client for Apollo. But Is there a manual callback which can be used instead of waiting for timeout?
You should be able to tell batching interface to not wait anymore because you know that all code paths which can trigger new requests are finished.. This is typically happens after you get callback from your top level router, ReactDOM.render or own logic..
This is especially useful on client. But it can be very useful when you SSR too!
You can reevaluate component tree again because there are some deeply nested component scenarios which you can interrupt at right time.
You should also know if there are new requests, say after 200ms after first SSR iteration (or more after when you detect search bot).
I know, there is server side helper, I'm using it, you can look at code. I'm coauthor of kriasoft/react-starter-kit and author of feature/apollo and other branches which teach people how to opt-in all these great features (not all are perfect I know, but hey, nobody is 😈)
The text was updated successfully, but these errors were encountered:
Hi
There is batching client for Apollo. But Is there a manual callback which can be used instead of waiting for timeout?
You should be able to tell batching interface to not wait anymore because you know that all code paths which can trigger new requests are finished.. This is typically happens after you get callback from your top level router,
ReactDOM.render
or own logic..This is especially useful on client. But it can be very useful when you SSR too!
You can reevaluate component tree again because there are some deeply nested component scenarios which you can interrupt at right time.
You should also know if there are new requests, say after 200ms after first SSR iteration (or more after when you detect search bot).
I know, there is server side helper, I'm using it, you can look at code. I'm coauthor of kriasoft/react-starter-kit and author of feature/apollo and other branches which teach people how to opt-in all these great features (not all are perfect I know, but hey, nobody is 😈)
The text was updated successfully, but these errors were encountered: