Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dnyandeo: Asynchronous Programming, 3 weeks #398

Open
Dnyandeo33 opened this issue Aug 25, 2022 · 1 comment
Open

Dnyandeo: Asynchronous Programming, 3 weeks #398

Dnyandeo33 opened this issue Aug 25, 2022 · 1 comment

Comments

@Dnyandeo33
Copy link
Contributor

Asynchronous Programming

Learning Objectives

  • 🥚 You understand the JavaScript Event Loop, and can demonstrate this by using setTimeout and setInterval to schedule simple tasks.
  • 🥚 You can explain why Asynchronous Programming is important for programs that have blocking and non-blocking tasks.
  • 🥚 You can explain the basics of the Client/Server model and HTTP requests and can fetch data from RESTful APIs.
  • 🐣 You can break down an asynchronous problem into smaller tasks and solve it using promises. This includes identify which tasks depend on each other and which are independent:
    • dependent tasks: The return value from one task is required to start the next task, these must be completed in a specific order - .then
    • independent tasks: These tasks do not use each other's return values, they can be completed at the same time - Promise.allsystem.
  • 🐣 You can fetch data from an API and render it into the DOM using /api-calls, /handlers and async/await syntax.
  • 🐣 You can write unit tests for functions that return promises using async/await syntax.
@Dnyandeo33 Dnyandeo33 self-assigned this Aug 25, 2022
@Dnyandeo33
Copy link
Contributor Author

Dnyandeo33 commented Aug 25, 2022

Week 1 and Week 2

What went well?

  • Everything went well in the past 2 weeks.
  • Understood overall Synchronous, Asynchronous, and Event loop concepts.
  • Understood setTimeout, setInterval and Promise and fetch API.
  • Repo's exercise and Samir's task went well.
    My User API Repos

Lessons Learned

Learn how to get data from API and store it on a webpage.

Sunday Prep Work

async await...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants