wlib
Joined 9 years ago
Joined 9 years ago
Next up — DOM parts and standardized signals, unified.
[1] https://youtu.be/UAmai36XJDk?list=PLoU8oWWwU-06BGLH5y7AMbybv... [2] https://youtu.be/3JyEHdJS94s?list=PLoU8oWWwU-06BGLH5y7AMbybv...
I have a somewhat small implementation that transparently batches updates with queueMicrotask in this library (bruh): https://github.com/Technical-Source/bruh/blob/a829af9df9405b...
Note that this is still desirable for inference because you want the most possible training on whatever model you can actually fit in your memory.
At least for what I made, I don't think it's too complex for what it provides. It transparently integrates with the event loop and only runs what it needs to, at the cost of (min-brotli) 432 bytes at the moment. Compare the "naive" SimpleReactive with the complete FunctionalReactive version here: https://github.com/Technical-Source/bruh/blob/main/packages/...