r/reactjs • u/swyx • Jun 03 '18
Beginner's Thread / Easy Question (June 2018)
Hello! just helping out /u/acemarke to post a beginner's thread for June! we had over 270 comments in last month's thread! If you didn't get a response there, please ask again here! You are guaranteed a response 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.
Pre-empting the most common question: how to get started learning react?
You might want to look through /u/acemarke's suggested resources for learning React and his React/Redux links list. Also check out http://kcd.im/beginner-react.
View all comments
Show parent comment
1
u/NiceOneAsshole Jun 25 '18
IP = IP regardless of what role the hardware behind it is playing.
You don't have control or know that your users will be making a single request. Suppose they have an extension that repeatedly refreshes a page or anything else could go wrong that results in a huge number of requests.
I really see no reason to put this functionality on the end user. You could perform the scraping on regulated intervals and cache the results. 1 cached result could be served to n number of users. That could save n-1 requests that your users would make to Amazon's servers.
If you're still not swayed, at least put a disclaimer that your users are making direct requests to Amazon and could result in an IP ban.