proppy
proppy copied to clipboard
Return an async iterable
This would give a "native" way to consume changes.
A possible example of usage...
import { withProps } from 'proppy';
const P = withProps({ counter: 1 });
const p = P();
for await (const value of p.subscribe()) {
console.log({ value });
}
Hi @fabiancook!
This looks interesting. Do you have any PoC for this? I can investigate if it's worth exploring it then.