isomorphic-tutorial icon indicating copy to clipboard operation
isomorphic-tutorial copied to clipboard

question: shared routing / api calls

Open ionutzp opened this issue 8 years ago • 1 comments

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.

ionutzp avatar Sep 17 '15 15:09 ionutzp

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.

spikebrehm avatar Sep 24 '15 04:09 spikebrehm