Please log in to watch this conference skillscast.
What do Tamagotchis — everyone’s favourite digital pets from the 90s — and ES6 generators — pausible functions for async tasks — have in common? Both are really fun to play with. As a recent side project, Jenn built a web-version of a Tamagotchi. But she struggled with one key element: how to handle a series of animations. What do you do when animations need to know that other animations are complete? What do you do when you’ve queued animations but a user event needs to be handled instead? This talk explores where Jenn went wrong (hint: promises) and what worked (hint: generators). You’ll leave this talk with a solid grasp of how to combine promises, generators, and coroutines for async work — whether it’s for a Tamagotchi or your day-to-day work.
YOU MAY ALSO LIKE:
- Spreadable JavaScript (SkillsCast recorded in July 2019)
- Advanced JavaScript Workshop with Damjan Vujnovic (Online Course on 26th - 30th April 2021)
- React & Redux: Web Application Workshop with Damjan Vujnovic (Online Course on 3rd - 7th May 2021)
- FullStack eXchange 2021: The Conference on JavaScript & Node (Online Conference on 21st - 22nd July 2021)
- F# for a Real World E-commerce Project (SkillsCast recorded in October 2020)
- Nagareyama: a new Fable, faster, more powerful and easier to use (SkillsCast recorded in October 2020)
What Tamagotchis Can Teach You About ES6 Generators
Jennifer Creighton
Jenn Creighton is the Lead Frontend Engineer @ The Wing and also a conference speaker. She lives in New York with her two cats, one dog, and maintains a Home for Abandoned Succulents, Mismanaged Plants and Otherwise Ailing Flora. You can find her online @gurlcode.