June 19th, 2023 × #javascript#nodejs#webdev
AsyncLocalStorage + AsyncContext API
Discussion on AsyncLocalStorage and Async Context API in JavaScript which allow accessing context down the call stack without passing references explicitly.
![Wes Bos](https://github.com/wesbos.png)
Wes Bos Host
![Scott Tolinski](https://github.com/stolinski.png)
Scott Tolinski Host
In this Hasty Treat, Scott and Wes talk about AsyncLocalStorage, why more frameworks aren't using it yet, some examples, as well as some footguns.
Show Notes
- 00:22 Welcome
- 01:44 What is AsyncLocalStorage?
- 03:14 What is context?
- 07:49 Why aren't more frameworks using AsyncLocalStorage for context for middleware?
- 10:16 Examples of usage
- 14:20 Footguns
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets
- Wes Bos on Bluesky
- Scott on Bluesky
- Syntax on Bluesky