A new era begins. The era of scheduling tasks with different priorities. The era will destroy the centuries-old dogmas of writing code for browsers and turn the frontend world upside down. The world will no longer be the same for HIS time has come .............. the time of the Scheduler.
We are going to talk about new way of writing UI code for browsers and new tolls that we can use to make our code more performant and elegant.
RequestIdleCallback - https://developer.mozilla.org/en-US/d...
Scheduler - https://developer.mozilla.org/en-US/d...
TaskController - https://developer.mozilla.org/en-US/d...
0:00 Let's start
0:38 Good old JavaScript
1:13 Split content into parts
2:10 Simple example
3:55 Code with timeouts
4:55 RequestIdleCallback
8:14 Scheduler.postTask
10:39 Code with tasks
12:37 New way of writing JavaScript
13:47 Silly joke