Saturday, January 5, 2019

reactjs - How to call node server to fetch data in web application using Facebook Flux?

I am new to react and flux. I am trying to build a simple application using the flux architecture and I got stuck that how can I fetch the data from the from node server. I have searched about that and every link that I have found, just show that I have to use ajax to fetch the data from the server, But I don't want to do that.



As my current app was build on Angular and node js and I can easily call the server to fetch data through $http services. But I didn't find that kind of thing in react or flux, even there is no routing concept available in react document ion , We need use third party component for routing.



So my question that is there any way so that I can fetch my data from server without using ajax and for routing don't have to use third party component. Please help me to figure it out. here's are the some of the link that I have found :




http://facebook.github.io/react/tips/initial-ajax.html



http://www.code-experience.com/async-requests-with-react-js-and-flux-revisited/



http://madebymany.com/blog/beyond-the-to-do-app-writing-complex-applications-using-flux-react-js

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...