|
|
|
|
|
by bgirard
1134 days ago
|
|
> So this kind of optimization is not very useful. It's absolutely useful. If you wait for the HTML page to load, to fetch the script, to start the react app, to have the react app make the rest/graphql calls your perf will be awful. You want to fetch and stream in the response to your query part of your document response. Me and my coworkers gave a talk on this and it's used on facebook.com: https://www.youtube.com/watch?v=WxPtYJRjLL0 In some situations you even want to stream the response within your query response within your document. |
|