#reactive #minimalist #poll #poll-based

poll-reactive

A minimalistic poll-based reactive library

1 unstable release

0.1.0 Mar 31, 2024

#13 in #poll

Download history 128/week @ 2024-03-25 56/week @ 2024-04-01

184 downloads per month

MIT license

15KB
409 lines

poll-reactive

A minimalistic poll-based reactive library.

Instead of push-based reactivity, it opts for pull-based reactivity, i.e., components have to poll. This mainly make sense for e.g. game engines where components have a "run once per frame" method anyway. In return it comes with a number of simplifications like avoiding the need for 'static closures, and a "natural" batching.

No runtime deps