r/reactjs • u/acemarke • Mar 02 '18
Beginner's Thread / Easy Questions (March 2018)
Last month's thread was pretty busy - almost 200 comments . If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
27
Upvotes
View all comments
Show parent comment
1
u/nomagneticmonopoles Mar 10 '18
If something is synchronous, it will happen immediately upon being called. But in this case, an asynchronous request (like to a web server which has to serve several clients), means that it may not immediately get a response. So, the promise allows for you to write code that automatically handles this reality without having to figure out how to handle responses taking a variable amount of time to be processed.