Closed rintcius closed 8 years ago
Thank you very much for the PR!
I'll review this in more detail next week, when I am back home, but looks good to me so far!
Could give an example for when this might be useful?
Ok, great!
I need it to integrate with non Flare components that expect Signal
parameters. E.g given:
myNumberFlare :: forall e.UI e Number
myComponent :: Signal Number -> Eff _ Unit
I can then use it like this (myComponent
reacting to changes in myNumberFlare
):
main = do
flareWith "controls" myComponent myNumberFlare
@sharkdp Updated and tested
Thanks! I've released a new version.
Great, thanks you!
Hi @sharkdp, first of all thanks for this great library!
I have added a
flareWith
function which enables hookingFlare
s without running the signal. It is just a slightly more generic version ofrunFlareWith
(and is now written in terms offlareWith
).I'd be happy to know your thoughts about this PR.