AsyncTalk

EP11 与 Event 斗争的血泪史


Listen Later

本期节目主播们在谈天说地之余聊了些关于 Event 相关的话题,从浏览器事件模型到性能优化都没丢下。

由于 lock down 带来的影响尚未散去,主播们普遍未能恢复到完全的状态,本期节目还请大家多多包涵。

但如果内容有误请务必不要照顾我们,可以通过邮件或者直接评论留言的方式联系我们指正。感谢~

邮件:[email protected]


主播

AnnatarHe: https://annatarhe.com

Tinko: https://space.bilibili.com/290664

Sleaf: https://twitter.com/Sleaf_

小鹿


Timeline

0:48 引题 - Event

1:24 Event 是什么

5:11 浏览器事件模型

9:10 AbortSignal 与 once

10:58 浏览器生命周期事件

14:35 I'm not robot!

17:47 event.target & currentTarget

18:47 无聊的面试题:事件委托

20:39 不是面试题的 Event Loop

23:51 Node Event Loop 以及你为啥不该知道

32:08 脱离前端的 Event

32:38 Event 有啥用呢?挣钱,解耦

33:56 ”事件“ 概念的杰出代表 — Nginx

35:37 一道有趣的面试题

39:15 解决问题可以靠工程,也可以用算法

40:52 如何优化高复杂度的问题

42:09 蹭个 react fiber 的热度

43:15 性能有问题?分片!

45:21 关于未发布节目的说明 — 我们倾向于做正能量节目


相关链接

Document: visibilitychange event: https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event

Intersection Observer API: https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API

What is the exact difference between currentTarget property and target property in JavaScript: https://stackoverflow.com/questions/10086427/what-is-the-exact-difference-between-currenttarget-property-and-target-property

React SyntheticEvent: https://reactjs.org/docs/events.html

The Node.js Event Loop, Timers, and process.nextTick(): https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/

tauri: https://github.com/tauri-apps/tauri

This new iOS 16 feature will rid the web of pesky CAPTCHA verification puzzles: https://9to5mac.com/2022/06/20/ios-16-bypass-captchas/

Difference between microtask and macrotask within an event loop context: https://stackoverflow.com/questions/25915634/difference-between-microtask-and-macrotask-within-an-event-loop-context

SPEC task queue: https://html.spec.whatwg.org/multipage/webappapis.html#task-queue

tokio: https://github.com/tokio-rs/tokio

Thread Pools in NGINX Boost Performance 9x! https://www.nginx.com/blog/thread-pools-boost-performance-9x/

React Fiber Architecture: https://github.com/acdlite/react-fiber-architecture


扩展阅读

How Apple could kill CAPTCHAs with Private Access Tokens https://appleinsider.com/articles/22/06/14/how-apple-could-kill-captchas-with-private-access-tokens



BGM by Otologic

...more
View all episodesView all episodes
Download on the App Store

AsyncTalkBy AsyncTalk


More shows like AsyncTalk

View all
潘吉Jenny告诉你|学英语聊美国|开言英语 · Podcast by OpenLanguage 英语

潘吉Jenny告诉你|学英语聊美国|开言英语 · Podcast

438 Listeners

IT那些事儿 by IT那些事儿

IT那些事儿

4 Listeners

软件那些事儿 by 刘延栋

软件那些事儿

52 Listeners

声东击西 by ETW Studio

声东击西

327 Listeners

百车全说丨别人研究车,而我研究你! by 百车全说

百车全说丨别人研究车,而我研究你!

38 Listeners

捕蛇者说 by pythonhunter

捕蛇者说

29 Listeners

游庭皓的財經皓角 by 游庭皓的財經皓角

游庭皓的財經皓角

50 Listeners

忽左忽右 by JustPod

忽左忽右

474 Listeners

硅谷101 by 硅谷101

硅谷101

190 Listeners

Gooaye 股癌 by 謝孟恭

Gooaye 股癌

756 Listeners

☀️ 全球串連早安新聞|Morning Taiwan Glocal News by 浩爾&小路

☀️ 全球串連早安新聞|Morning Taiwan Glocal News

180 Listeners

半拿铁 | 商业沉浮录 by 潇磊&刘飞

半拿铁 | 商业沉浮录

312 Listeners

硬地骇客 by skoowoo

硬地骇客

18 Listeners

人民公园说AI by JustSayAI

人民公园说AI

7 Listeners

尖不想寫扣 by Mike & Anthony

尖不想寫扣

3 Listeners