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

how do you "set" a server-side object? #104

Closed
paOol opened this issue Aug 22, 2016 · 0 comments
Closed

how do you "set" a server-side object? #104

paOol opened this issue Aug 22, 2016 · 0 comments

Comments

@paOol
Copy link

paOol commented Aug 22, 2016

lets say I want to pull an instagram user feed, then I make a new object formatted the way I like.
How do I do this as a hapi route?
For simplicity, lets say I want this object to be sent to the Home.js component.

I know I can do a GET request from a react component, but I'm not trying to do AJAX, I would like the object from server-side so the information is there when the first page load happens.

also unrelated note, the README says /views/Main.js , when it should be /srv/components/Home.js

@paOol paOol closed this as completed Aug 29, 2017
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

1 participant