isomorphic-tutorial
isomorphic-tutorial copied to clipboard
question: shared routing / api calls
Hi @spikebrehm Isn't it a bit redundant that the server and the client both do a get request to get the posts data? Once it's retrieved on he server can be passed to the client without being re-requested on the clientside. Correct me if i'm wrong but the data is being requested twice now.
Yes, good catch!
Ideally we would further abstract that away. It's not hard to do but just requires further abstraction. Feel free to submit a PR.