JavaScript: The Hard Parts - Promises @ PatientPop

This is a past event

33 people went

PatientPop

214 Wilshire Blvd 2nd Floor · Santa Monica, ca

How to find us

Please come to the 2nd floor

Location image of event venue

Details

PatientPop has graciously offered to host this workshop at their awesome headquarters in Santa Monica.

PLEASE REGISTER HERE TO GET YOUR PAIR PROGRAMMING PARTNER:
(https://nvite.com/JavaScriptHard/2z49wy)

***Bring a friend who'd like to build and you can pair program together!

During this workshop led by Codesmith CEO and Frontend Masters teacher, Will Sentance, we will explore Async/await under-the-hood. Understanding this area is the backbone of being an effective JavaScript engineer. To do so we’ll get a clear sense of the call stack, event loop, callback queue and background threads so that you can navigate complex asynchronous problems, easily.

Our mental models of asynchronicity in javascript - the event loop, callback queue - are no longer enough. We have to augment them with the new world of native promises and async/await and understand them intuitively. In this session, we’ll do this so you can write readable code and debug effectively

We will cover:

- The challenge with asynchronicity in JavaScript and how promises fix the problem of inversion of control
- Building a promise from scratch and understanding resolve, reject, then and done
- ES2017 Async/await for promise simplification
- Function declaration with async and await keywords

A combination of understanding promises and async/await under the hood and strategies for effective implementation will give you the tools to write clean pro asynchronous code in your work and projects.

Schedule

6:30 - 7:00pm: Meet your future pair programming partner.

7:00 - 8:00pm: Core JavaScript concept for the challenge and introduction to the secret hack for learning to code - pair-programming.

8:00 - 9:00pm: Pair-programming.

Afterward, stick around to network and chat over snack and refreshments provided by our great hosts!

Price: Always free