Motivation: I'm working on an app which some parts of it renders multiple times a second, and may in some cases perform heavy rendering. I would like it to give user action priority over everything else, even in those heavy rendering cases.
I've learn that that react 16 schedule algorithm (also known as React Fiber)
- Split the work handed to the main thread into chunks, preventing overload which can prevent the main thread from rendering UI.
- Offer a way to give a specific tasks (like user action) different priority, so it will be treated before lower-priority tasks.
Is there an angular mechanism which provide both of these features?
(I assume that ngrx can provide some advantages, as all actions/events are asynchronous, so the second feature is more critical for my case)