Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: shared routing / api calls #18

Open
ionutzp opened this issue Sep 17, 2015 · 1 comment
Open

question: shared routing / api calls #18

ionutzp opened this issue Sep 17, 2015 · 1 comment

Comments

@ionutzp
Copy link

ionutzp commented Sep 17, 2015

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.

@spikebrehm
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants