You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like what you've done with this. I'm still learning react (having come from a ruby/rails and angular background). I'm wondering how you handle getting requests from an external API?
And the server.jsx file is substantially different then yours. How would you handle something like that? Would it be the same way?
EDIT: The reason I'm asking is because the app we are building will be talking a lot to a main ruby/rails API and won't be handling any data locally (or very minimal). So this is something that is weighting heavily on us.
The text was updated successfully, but these errors were encountered:
You can add http-proxy for that :-) So you use express as kind of a "middleend", where you do all the development, can fake responses etc. But you can take a path and proxy that to some external API. An example here:
I really like what you've done with this. I'm still learning react (having come from a ruby/rails and angular background). I'm wondering how you handle getting requests from an external API?
I'm looking at this article here: https://medium.com/front-end-developers/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4#.wcor87ig4
And the server.jsx file is substantially different then yours. How would you handle something like that? Would it be the same way?
EDIT: The reason I'm asking is because the app we are building will be talking a lot to a main ruby/rails API and won't be handling any data locally (or very minimal). So this is something that is weighting heavily on us.
The text was updated successfully, but these errors were encountered: