Skip to content

Instantly share code, notes, and snippets.

@halitbatur
Created October 4, 2023 10:07
Show Gist options
  • Save halitbatur/370f8e0299d39ca6c4b992c76989b997 to your computer and use it in GitHub Desktop.
Save halitbatur/370f8e0299d39ca6c4b992c76989b997 to your computer and use it in GitHub Desktop.
Fetch Disscusion

Fetch Discussion

  1. What do you think "asynchronous" means in the context of programming? Why might it be important?
  2. Imagine you're on a website, and you click a button to view a list of your friends. The list takes some time to appear. Why might that be the case?
  3. How do you think a website's responsiveness impacts user experience? What could be the consequences if a site becomes unresponsive for a few seconds?
  4. Why might it be problematic if a browser had to "wait" for every operation to complete before doing anything else?
  5. If you were designing a website that needed to fetch information, like a news site, what challenges do you anticipate you'd face? How might you ensure the website remains responsive?
  6. Are there other ways you've heard of (or can research) for handling operations that might take some time? For instance, how might you deal with loading an image?
  7. What might happen if a website tries to fetch some data, but there's an issue (e.g., the data doesn't exist, or the server is down)? How should the website handle such situations?
  8. Have you come across terms like "Promises" or "async/await" in your preliminary research or readings? What do you think they might be related to?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment