dyo / dyo

Dyo is a JavaScript library for building user interfaces.

Home Page:https://dyo.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About scheduler and fibers in Dyo

mcjazzyfunky opened this issue · comments

@thysultan Again a question: All that scheduler and fiber rendering stuff in Dyo - is it fully comparable to the upcoming "concurrent mode" in React? Will it also allow (at least in theory) future "concurrent mode" features like the ones listed here?

https://reactjs.org/docs/concurrent-mode-adoption.html#feature-comparison

Will it also allow (at least in theory) future "concurrent mode" features

Yes. current suspense is already supported through this.

This is such a killer feature...
You really have to mention this prominently on the dyo.js.org website.
Dyo is really an amazing piece of software.

Thanks a lot for the info.

To be honest, I think generator and fiber are two different ways to implement coroutines, and they may not be approximately equal to.
In layman's terms, generator is only the scheduling of js language, and fiber is the browser's coroutine.